2 include $(TOP)/config/make.cfg
4 #MM bootloader-grub2-pc-i386 : grub2-dirs bootloader-grub2gfx-common grub2-pc-i386
5 #MM bootloader-grub2gfx-pc-i386 : grub2-dirs bootloader-grub2gfx-common bootloader-grub2gfx-common-livecd grub2-pc-i386
7 #MM- grub2-pc-i386: arch-common-grub2 grub2-iso-setup
9 MODULES_DEFAULT:=$(SRCDIR)/$(CURDIR)/../modules.default
11 bootloader-grub2-pc-i386: \
12 $(AROSARCHDIR)/grub/grub.cfg $(AROSDIR)/EFI/BOOT/grub/grub.cfg
13 bootloader-grub2gfx-pc-i386: \
14 $(AROSARCHDIR)/grub/grub.cfg $(AROSDIR)/EFI/BOOT/grub/grub.cfg
16 $(AROSARCHDIR)/grub/grub.cfg: grub.cfg
17 @$(ECHO) Generating $@...
18 @$(SED) 's#@modules.default@#sed "s\#^\# module \#g" $(MODULES_DEFAULT)#e' $< > $@
20 $(AROSDIR)/EFI/BOOT/grub/grub.cfg: grub-efi.cfg
21 @$(ECHO) Generating $@...
22 @$(SED) 's#@modules.default@#sed "s\#^\# module2 \#g" $(MODULES_DEFAULT)#e' $< > $@