3 include $(SRCDIR)/config/aros.cfg
5 .PHONY: $(DISTDIR)/system-amiga-m68k.adf
7 #MM bootdisk-amiga-m68k : \
8 #MM kernel-link-amiga-m68k \
10 #MM bootdisk-amiga-m68k-quick : bootdisk-amiga-m68k-quick
14 $(AROS_DIR_ARCH)/AROSBootstrap \
41 Devs/DOSDrivers/PIPE \
42 Libs/version.library \
46 $(AROS_DIR_ARCH)/aros.hunk.gz \
52 BOOT_SRC_DIR := $(AROSDIR)
53 BOOT_DEST_DIR := $(AROSDIR)/Emergency-Boot
55 ELF2HUNK_DEST_FILES := $(addprefix $(BOOT_DEST_DIR)/,$(ELF2HUNK_FILES))
56 OTHER_DEST_FILES := $(addprefix $(BOOT_DEST_DIR)/,$(OTHER_FILES))
57 BOOT_DEST_FILES := $(ELF2HUNK_DEST_FILES) $(OTHER_DEST_FILES)
60 BOOT_DEST_DIRS := $(dir $(BOOT_DEST_FILES))
61 GLOB_MKDIRS += $(BOOT_DEST_DIRS) $(DISTDIR)
64 bootdisk-amiga-m68k-clean:
65 $(RM) $(BOOT_DEST_DIR) $(DISTDIR)/bootdisk-amiga-m68k.adf
68 bootdisk-amiga-m68k: $(DISTDIR)/bootdisk-amiga-m68k.adf
70 .PHONY: bootdisk-amiga-m68k-quick
73 bootdisk-amiga-m68k-quick : bootdisk-amiga-m68k
75 $(DISTDIR)/bootdisk-amiga-m68k.adf: \
76 $(BOOT_DEST_FILES) $(BOOT_EXTRA_FILES) \
77 $(BOOT_DEST_DIR).info \
78 $(GENDIR)/$(CURDIR)/install-$(AROS_HOST_ARCH)-$(AROS_HOST_CPU) \
81 $(COPYTOAFS) $@ --type OFS --name "AROS Kickstart" --size 1760 $(BOOT_DEST_DIR)
82 $(GENDIR)/$(CURDIR)/install-$(AROS_HOST_ARCH)-$(AROS_HOST_CPU) $@
84 $(BOOT_DEST_DIR)/S/Startup-Sequence: $(SRCDIR)/$(CURDIR)/Startup-Sequence.boot | $(BOOT_DEST_DIR)/S
88 $(ELF2HUNK_DEST_FILES) : $(BOOT_DEST_DIR)/% : $(BOOT_SRC_DIR)/% | $(BOOT_DEST_DIRS)
91 $(BOOT_DEST_DIR)/Disk.info: $(SRCDIR)/$(CURDIR)/AROSBoot.info.src $(SRCDIR)/$(CURDIR)/AROSBoot.png | $(BOOT_DEST_DIR)
92 @$(ILBMTOICON) --no-iff $^ $@
94 $(BOOT_DEST_DIR).info: $(SRCDIR)/$(CURDIR)/Emergency-Boot.info.src $(SRCDIR)/$(CURDIR)/AROSBoot.png
97 $(BOOT_DEST_DIR)/$(AROS_DIR_ARCH)/aros.hunk.gz : $(BOOT_SRC_DIR)/$(AROS_DIR_ARCH)/aros.elf | $(BOOT_DEST_DIR)/$(AROS_DIR_ARCH)
98 @$(ELF2HUNK) $< - | gzip -c - >$@
100 $(GENDIR)/$(CURDIR)/install-$(AROS_HOST_ARCH)-$(AROS_HOST_CPU): $(SRCDIR)/$(CURDIR)/install.c
101 echo $(GENDIR)/$(CURDIR)
102 @$(MKDIR) -p $(GENDIR)/$(CURDIR)
103 @$(HOST_CC) $(HOST_CFLAGS) $(SRCDIR)/$(CURDIR)/install.c -o $(GENDIR)/$(CURDIR)/install-$(AROS_HOST_ARCH)-$(AROS_HOST_CPU)
105 $(BOOT_DEST_DIR)/README.txt.info: README.txt.info.src \
107 @$(MKDIR) $(BOOT_DEST_DIR)
110 $(BOOT_DEST_DIR)/README.txt: README.txt
111 @$(MKDIR) $(BOOT_DEST_DIR)