3 include $(SRCDIR)/config/aros.cfg
5 TARGET_ISO := $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-amiga-m68k.iso
6 DEVEL_ISO := $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-amiga-m68k-devel.iso
8 .PHONY: $(TARGET_ISO) $(DEVEL_ISO)
10 #MM bootiso-amiga-m68k : AROS-complete \
13 #MM kernel-package-amiga-m68k \
14 #MM kernel-bootstrap-amiga-m68k \
15 #MM AROS-amiga-m68k-drivers \
16 #MM bootdisk-amiga-m68k
18 #MM deviso-amiga-m68k : AROS-complete \
21 #MM kernel-package-amiga-m68k \
22 #MM kernel-bootstrap-amiga-m68k \
23 #MM AROS-amiga-m68k-drivers \
24 #MM bootdisk-amiga-m68k
29 $(AROSDIR)/.backdrop: $(SRCDIR)/workbench/.backdrop
32 $(AROSDIR)/Emergency-Boot.adf: $(DISTDIR)/bootdisk-amiga-m68k.adf
35 $(AROSDIR)/Sources: FORCE $(AROSDIR)/Sources.info $(AROSDIR)/Sources/README.txt.info
36 $(Q)$(MKDIR) $(AROSDIR)/Sources
37 $(Q)$(CP) -a $(SRCDIR)/arch/m68k-amiga/doc/. $(AROSDIR)/Sources/.
38 $(Q)$(TAR) -C $(SRCDIR) --exclude=.svn --exclude=linux-x86_64 --exclude=amiga-m68k -czf $(AROSDIR)/Sources/AROS.tar.gz .
39 $(Q)(cd $(AROSDIR)/Sources; ./build-toolchain.sh --fetch-only)
41 $(AROSDIR)/Sources.info: Sources.info.src Sources.png
42 @$(MKDIR) $(AROSDIR)/Sources
45 $(AROSDIR)/Sources/README.txt.info: Sources-README.txt.info.src \
46 Sources-README.txt.png
47 @$(MKDIR) $(AROSDIR)/Sources
50 $(AROSDIR)/README.txt.info: README.txt.info.src \
55 $(AROSDIR)/README.txt: README.txt
60 bootiso-amiga-m68k: $(TARGET_ISO)
63 bootiso-amiga-m68k-quick: $(TARGET_ISO)
66 deviso-amiga-m68k: $(DEVEL_ISO)
69 deviso-amiga-m68k-quick: $(DEVEL_ISO)
71 .PHONY: bootiso-amiga-m68k-quick deviso-amiga-m68k-quick
73 $(warning LANG = $(LANG))
75 $(TARGET_ISO): $(AROSDIR)/.backdrop \
76 $(AROSDIR)/Emergency-Boot.adf \
77 $(AROSDIR)/README.txt.info \
79 %mkdirs_q $(AROSDIR)/S
80 @$(MKDIR) -p "$(DISTDIR)"
81 @$(MKDIR) -p "$(AROSDIR).HUNK"
82 @$(ECHO) "Converting $(subst $(TARGETDIR)/,,$(AROSDIR)) -> $(subst $(TARGETDIR)/,,$(AROSDIR).HUNK)"
83 @$(ELF2HUNK) "$(AROSDIR)" "$(AROSDIR).HUNK"
84 @$(RM) -rf "$(AROSDIR).HUNK/Sources"*
85 @$(RM) -rf "$(AROSDIR).HUNK/$(AROS_DIR_ARCH)/aros.elf"
86 @$(CP) "$(AROSDIR)/Emergency-Boot/$(AROS_DIR_ARCH)/aros.hunk.gz" "$(AROSDIR).HUNK/$(AROS_DIR_ARCH)"
87 @$(CP) $(SRCDIR)/arch/m68k-amiga/boot/iso/Wanderer-global.prefs "$(AROSDIR).HUNK/Prefs/Env-Archive/SYS/Wanderer/global.prefs"
93 -publisher "The AROS Dev Team" \
94 -p "The AROS Dev Team (www.aros.org)" \
95 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \
99 $(DEVEL_ISO): $(AROSDIR)/.backdrop \
100 $(AROSDIR)/Emergency-Boot.adf \
102 $(AROSDIR)/README.txt.info \
103 $(AROSDIR)/README.txt
104 @$(CP) $(SRCDIR)/arch/m68k-amiga/boot/iso/Wanderer-global.prefs $(AROSDIR).iso/Prefs/Env-Archive/SYS/Wanderer/global.prefs
107 -allow-leading-dots \
109 -V "AROS Development CD" \
110 -publisher "The AROS Dev Team" \
111 -p "The AROS Dev Team (www.aros.org)" \
112 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \