Changes in boot/Makefile.grub [84176f3:a43dfcb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.grub
r84176f3 ra43dfcb 31 31 include Makefile.common 32 32 33 GRUB = grub /$(BARCH)-$(GRUB_ARCH)33 GRUB = grub.$(GRUB_ARCH) 34 34 BOOT = $(DISTROOT)/boot 35 35 BOOT_CONFIG = $(BOOT)/grub/grub.cfg … … 64 64 endif 65 65 66 ifeq ($(GRUB_LOADER),multiboot)67 66 for module in $(COMPONENTS) ; do \ 68 67 cp "$$module" $(BOOT)/ ; \ 69 68 done 70 endif71 ifeq ($(GRUB_LOADER),chainloader)72 cp "$(BOOT_OUTPUT)" $(BOOT)/73 endif74 69 75 70 echo "set default=0" > $(BOOT_CONFIG) … … 88 83 89 84 echo "menuentry 'HelenOS $(RELEASE)' --class helenos --class os {" >> $(BOOT_CONFIG) 90 ifeq ($(GRUB_LOADER),multiboot)91 85 for module in $(MODULES) ; do \ 92 86 echo " echo 'Loading $$module'" >> $(BOOT_CONFIG) ; \ … … 97 91 fi \ 98 92 done 99 endif100 ifeq ($(GRUB_LOADER),chainloader)101 echo " echo 'Loading $(BOOT_OUTPUT)'" >> $(BOOT_CONFIG)102 echo " chainloader /boot/$(BOOT_OUTPUT)" >> $(BOOT_CONFIG)103 echo " boot" >> $(BOOT_CONFIG)104 endif105 93 echo "}" >> $(BOOT_CONFIG) 106 94
Note:
See TracChangeset
for help on using the changeset viewer.