Changed some dependencies. Now plain 'make' builds also bootstrap.
[AROS.git] / arch / i386-pc / boot / iso / mmakefile.src
blob1058031846988981fe58633b9567e8b3fb5c1625
1 # $Id$
2 include $(TOP)/config/make.cfg
4 .PHONY: $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-pc-i386.iso
6 TARGET_ISO := $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-pc-i386.iso
8 #MM bootiso-pc-i386 :   AROS-complete           \
9 #MM                     kernel-package-pc-i386          \
10 #MM                     AROS-pc-i386-drivers            \
11 #MM                     bootloader-$(AROS_TARGET_BOOTLOADER)-pc-i386
13 bootiso-pc-i386: $(AROSDIR)/.backdrop $(TARGET_ISO)
15 $(AROSDIR)/.backdrop: $(SRCDIR)/workbench/.backdrop
16                 @$(CP) $< $@
18 #MM
19 bootiso-pc-i386-quick: $(TARGET_ISO)
21 .PHONY: bootiso-pc-i386-quick
23 ifeq ($(AROS_TARGET_BOOTLOADER),grub)
24 BOOTLOADER_ELTORITO_REL := boot/grub/iso9660_stage1_5
25 endif
27 ifeq ($(AROS_TARGET_BOOTLOADER),grub2)
28 BOOTLOADER_ELTORITO_REL := boot/grub/grub2_eltorito
29 endif
31 ifeq ($(AROS_TARGET_BOOTLOADER),grub2gfx)
32 BOOTLOADER_ELTORITO_REL := boot/grub/grub2_eltorito
33 endif
35 $(warning BOOTLOADER_ELTORITO_REL = $(BOOTLOADER_ELTORITO_REL))
36 $(warning LANG = $(LANG))
38 $(TARGET_ISO): $(BINDIR)/boot/aros-pc-i386.gz $(BINDIR)/boot/aros-kernel-pc-i386.gz
39         %mkdirs_q $(AROSDIR)/S
40         @$(CP) $(SRCDIR)/workbench/s/Startup-Sequence $(AROSDIR)/S/Startup-Sequence
41         @$(MKDIR) -p "$(DISTDIR)"
42         @mkisofs -f \
43                 -o $@ \
44                 -b $(BOOTLOADER_ELTORITO_REL) \
45                 -c boot/boot.catalog \
46                 -no-emul-boot \
47                 -boot-load-size 4 \
48                 -boot-info-table \
49                 -allow-leading-dots \
50                 -iso-level 4 \
51                 -V "AROS Live CD" \
52                 -publisher "The AROS Dev Team" \
53                 -p "The AROS Dev Team (www.aros.org)" \
54                 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \
55                 -l -J -r \
56                 $(AROSDIR)