Documented GVF_SAVE_VAR alongside other flags, and removed a query/doubt
[AROS.git] / arch / x86_64-pc / boot / iso / mmakefile.src
blobdf1ca4a4736cf3d6c2bbca5cbe9e663e5434fdfd
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 .PHONY: $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-pc-x86_64.iso
7 TARGET_ISO := $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-pc-x86_64.iso
9 #MM
10 bootiso-pc-x86_64: $(TARGET_ISO)
12 #MM
13 bootiso-pc-x86_64-quick: $(TARGET_ISO)
15 .PHONY: bootiso-pc-x86_64-quick
16 .PHONY: $(TARGET_ISO)
18 ifeq ($(AROS_TARGET_BOOTLOADER),grub)
19 BOOTLOADER_ELTORITO_REL := $(AROS_DIR_ARCH)/grub/iso9660_stage1_5
20 endif
22 ifeq ($(AROS_TARGET_BOOTLOADER),grub2)
23 BOOTLOADER_ELTORITO_REL := $(AROS_DIR_ARCH)/grub/i386-pc/grub2_eltorito
24 endif
26 ifeq ($(AROS_TARGET_BOOTLOADER),grub2gfx)
27 BOOTLOADER_ELTORITO_REL := $(AROS_DIR_ARCH)/grub/i386-pc/grub2_eltorito
28 endif
30 MODULES_DEFAULT := $(SRCDIR)/$(CURDIR)/../modules.default
31 BOOTSTRAP_BOOT_FILES := bootstrap.gz
32 DEFAULT_BOOT_FILES := $(shell cat $(MODULES_DEFAULT))
33 ISO_DEPS := $(addprefix $(AROSARCHDIR)/, $(BOOTSTRAP_BOOT_FILES)) \
34     $(addprefix $(AROSDIR),$(DEFAULT_BOOT_FILES))
36 $(warning BOOTLOADER_ELTORITO_REL = $(BOOTLOADER_ELTORITO_REL))
38 $(TARGET_ISO): $(ISO_DEPS)
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 $(AROS_DIR_ARCH)/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)