Changeset 1f5c9c96 in mainline for boot/Makefile.grub
- Timestamp:
- 2011-12-02T17:29:43Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b8b1e631, c3887ad
- Parents:
- c48f6ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.grub
rc48f6ab r1f5c9c96 39 39 ifeq ($(GRUB_ARCH),pc) 40 40 BOOT_CONFIG = $(BOOT)/grub/i386-pc/grub.cfg 41 MULTIBOOT_CMD = multiboot 42 MODULE_CMD = module 41 43 endif 42 44 ifeq ($(GRUB_ARCH),efi) 43 45 BOOT_CONFIG = $(BOOT)/grub/grub.cfg 46 MULTIBOOT_CMD = multiboot2 47 MODULE_CMD = module2 44 48 endif 45 49 … … 69 73 echo "" >> $(BOOT_CONFIG) 70 74 75 ifeq ($(GRUB_ARCH),pc) 76 echo "insmod vbe" >> $(BOOT_CONFIG) 77 echo "insmod vga" >> $(BOOT_CONFIG) 78 endif 79 ifeq ($(GRUB_ARCH),efi) 80 echo "insmod efi_gop" >> $(BOOT_CONFIG) 81 echo "insmod efi_uga" >> $(BOOT_CONFIG) 82 endif 83 echo "" >> $(BOOT_CONFIG) 84 71 85 echo "menuentry 'HelenOS $(RELEASE)' --class helenos --class os {" >> $(BOOT_CONFIG) 72 86 for module in $(MODULES) ; do \ 73 87 echo " echo 'Loading $$module'" >> $(BOOT_CONFIG) ; \ 74 88 if [ "$$module" = "kernel.bin" ] ; then \ 75 echo " multiboot/boot/$$module" >> $(BOOT_CONFIG) ; \89 echo " $(MULTIBOOT_CMD) /boot/$$module" >> $(BOOT_CONFIG) ; \ 76 90 else \ 77 echo " module/boot/$$module" >> $(BOOT_CONFIG) ; \91 echo " $(MODULE_CMD) /boot/$$module" >> $(BOOT_CONFIG) ; \ 78 92 fi \ 79 93 done
Note:
See TracChangeset
for help on using the changeset viewer.