1 # Copyright © 2004, The AROS Development Team. All rights reserved.
4 include $(TOP)/config/make.cfg
6 ifneq ($(AROS_TARGET_VARIANT),tiny)
7 GRUBOPTS += --enable-affs
9 GRUBOPTS += --enable-affs --disable-fat --disable-ffs --disable-minix --disable-reiserfs \
10 --disable-vstafs --disable-jfs --disable-xfs --disable-md5-password \
11 --disable-packet-retransmission --disable-ext2fs --disable-serial \
16 grub-copy-stages : $(AROSDIR)/boot/grub/stage1 $(AROSDIR)/boot/grub/stage2 $(AROSDIR)/boot/grub/stage2_hdisk $(AROSDIR)/boot/grub/iso9660_stage1_5
18 # DO NOT DECLARE CFLAGS HERE
19 # OR MAKE SURE -fno-stack-protector IS DETECTED IF COMPILER SUPPORTS IT
21 %build_with_configure mmake=grub compiler=kernel install_target= \
22 extraoptions="$(GRUBOPTS)"
24 $(AROSDIR)/boot/grub/stage1: $(GENDIR)/$(CURDIR)/stage1/stage1
28 $(AROSDIR)/boot/grub/stage2: $(GENDIR)/$(CURDIR)/stage2/stage2_eltorito
32 $(AROSDIR)/boot/grub/stage2_hdisk: $(GENDIR)/$(CURDIR)/stage2/stage2
36 $(AROSDIR)/boot/grub/iso9660_stage1_5: $(GENDIR)/$(CURDIR)/stage2/iso9660_stage1_5