Check if volumes are bootable by checking whether C/Shell is compatible with
[tangerine.git] / arch / x86_64-pc / boot / iso / mmakefile.src
blob185735928226139835ec935017c27fff25093886
1 # $Id$
2 include $(TOP)/config/make.cfg
4 .PHONY: $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-pc-x86_64.iso
6 TARGET_ISO := $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-pc-x86_64.iso
8 #MM bootiso-pc-x86_64 : kernel-bootstrap-x86_64           \
9 #MM                     kernel-package-pc-x86_64                  \
10 #MM                     AROS-pc-x86_64-drivers            \
11 #MM                     arch-common-boot-generatebootsig  \
12 #MM                     bootloader-$(AROS_TARGET_BOOTLOADER)-pc-x86_64
14 bootiso-pc-x86_64: $(TARGET_ISO)
16 #MM
17 bootiso-pc-x86_64-quick: $(TARGET_ISO)
19 .PHONY: bootiso-pc-x86_64-quick
21 ifeq ($(AROS_TARGET_BOOTLOADER),grub)
22 BOOTLOADER_ELTORITO_REL := boot/grub/iso9660_stage1_5
23 endif
25 ifeq ($(AROS_TARGET_BOOTLOADER),grub2)
26 BOOTLOADER_ELTORITO_REL := boot/grub/grub2_eltorito
27 endif
29 ifeq ($(AROS_TARGET_BOOTLOADER),grub2gfx)
30 BOOTLOADER_ELTORITO_REL := boot/grub/grub2_eltorito
31 endif
33 $(warning BOOTLOADER_ELTORITO_REL = $(BOOTLOADER_ELTORITO_REL))
35 $(TARGET_ISO): $(BINDIR)/boot/kernel-pc-x86_64.pkg $(BINDIR)/boot/kernel-pc-x86_64
36         %mkdirs_q $(AROSDIR)/S
37         @$(CP) $(SRCDIR)/workbench/s/Startup-Sequence $(AROSDIR)/S/Startup-Sequence
38         @$(MKDIR) -p "$(DISTDIR)"
39         @mkisofs -f \
40                 -o $@ \
41                 -b $(BOOTLOADER_ELTORITO_REL) \
42                 -c boot/boot.catalog \
43                 -no-emul-boot \
44                 -boot-load-size 4 \
45                 -boot-info-table \
46                 -allow-leading-dots \
47                 -iso-level 4 \
48                 -V "AROS Live CD" \
49                 -publisher "The AROS Dev Team" \
50                 -p "The AROS Dev Team (www.aros.org)" \
51                 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \
52                 -l -J -r \
53                 $(AROSDIR)