3 include $(SRCDIR)/config/aros.cfg
5 #MM- bootloader-grub-pc-x86_64: grub-pc-x86_64
7 #MM grub-pc-x86_64: grub-quick grub-copy-stages
9 MODULES_DEFAULT:=$(SRCDIR)/$(CURDIR)/../modules.default
10 MODULE_BOOTSTRAP:=/$(AROS_DIR_ARCH)/bootstrap.gz
12 grub-pc-x86_64: $(AROSARCHDIR)/grub/menu.lst $(AROSARCHDIR)/grub/menu.lst.DH0
14 $(AROSARCHDIR)/grub/menu.lst: menu.lst
15 @$(ECHO) Generating $@...
16 @$(SED) -e 's#@modules.default@#sed "s\#^\# module \#g" $(MODULES_DEFAULT)#e' -e 's#@module.bootstrap@#$(MODULE_BOOTSTRAP)#g' $< > $@
18 $(AROSARCHDIR)/grub/menu.lst.DH0: menu.lst.DH0
19 @$(ECHO) Generating $@...
20 @$(SED) -e 's#@modules.default@#sed "s\#^\# module /dh0\#g" $(MODULES_DEFAULT)#e' -e 's#@module.bootstrap@#/dh0$(MODULE_BOOTSTRAP)#g' $< > $@