Changeset 14e9272 in mainline for boot/Makefile.grub
- Timestamp:
- 2011-11-26T16:45:34Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5f6cb14
- Parents:
- 82d7816 (diff), 765678f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.grub
r82d7816 r14e9272 31 31 include Makefile.common 32 32 33 STAGE2 = grub/stage2_eltorito 33 GRUB2 = grub 34 STAGE2 = $(GRUB2)/i386-pc/eltorito.img 34 35 STAGE2_IN = boot/$(STAGE2) 35 36 … … 37 38 38 39 $(BOOT_OUTPUT): build_dist 39 mkisofs -J -r - b $(STAGE2_IN) -no-emul-boot -boot-load-size4 -boot-info-table -o $@ $(DISTROOT)/40 mkisofs -J -r -input-charset utf-8 -b $(STAGE2_IN) -no-emul-boot -boot-load-size 64 -boot-info-table -o $@ $(DISTROOT)/ 40 41 41 42 build_dist: clean 42 mkdir -p $(DISTROOT)/boot /grub43 cp $(STAGE2) $(DISTROOT)/boot/grub/43 mkdir -p $(DISTROOT)/boot 44 cp -r $(GRUB2) $(DISTROOT)/boot 44 45 for module in $(COMPONENTS) ; do \ 45 46 cp "$$module" $(DISTROOT)/boot/ ; \ 46 47 done 47 48 48 echo "default 0" > $(DISTROOT)/boot/grub/menu.lst 49 echo "timeout 10" >> $(DISTROOT)/boot/grub/menu.lst 50 echo "" >> $(DISTROOT)/boot/grub/menu.lst 51 echo "title=HelenOS" >> $(DISTROOT)/boot/grub/menu.lst 52 echo " root (cd)" >> $(DISTROOT)/boot/grub/menu.lst 49 echo "set default=0" > $(DISTROOT)/boot/grub/i386-pc/grub.cfg 50 echo "set timeout=10" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg 51 echo "" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg 52 53 echo "menuentry 'HelenOS $(RELEASE)' --class helenos --class os {" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg 54 echo " set root='(cd)'" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg 55 53 56 for module in $(MODULES) ; do \ 57 echo "" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg ; \ 58 echo " echo 'Loading $$module'" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg ; \ 54 59 if [ "$$module" = "kernel.bin" ] ; then \ 55 echo " kernel /boot/$$module" >> $(DISTROOT)/boot/grub/menu.lst; \60 echo " multiboot /boot/$$module" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg ; \ 56 61 else \ 57 echo " module /boot/$$module" >> $(DISTROOT)/boot/grub/ menu.lst; \62 echo " module /boot/$$module" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg ; \ 58 63 fi \ 59 64 done 65 66 echo "}" >> $(DISTROOT)/boot/grub/i386-pc/grub.cfg 60 67 61 68 clean:
Note:
See TracChangeset
for help on using the changeset viewer.