revert between 56095 -> 55830 in arch
[AROS.git] / arch / ppc-sam440 / boot / mmakefile.src
blobb0bbb01a028027fd662d5d2556824babf861a34b
1 # $Id$
3 include $(SRCDIR)/config/aros.cfg
5 #MM- AROS-sam440-ppc: \
6 #MM     kernel-sam440-ppc \
7 #MM     kernel-modules-sam440-ppc \
8 #MM     workbench-complete \
9 #MM     workbench-devs-networks-emac-powerpc \
10 #MM     aros-tcpip-apps
12 #MM bootiso-sam440-ppc: \
13 #MM     boot \
14 #MM     parthenope-sam440 \
15 #MM     AROS-sam440-ppc
17 #MM- kernel-modules-sam440-ppc: \
18 #MM     linklibs-rom \
19 #MM     kernel-expansion \
20 #MM     kernel-utility \
21 #MM     kernel-oop \
22 #MM     kernel-battclock \
23 #MM     kernel-hidd \
24 #MM     kernel-aros \
25 #MM     kernel-misc \
26 #MM     kernel-task \
27 #MM     kernel-timer \
28 #MM     kernel-hidd-pci \
29 #MM     kernel-hidd-pci-amcc440 \
30 #MM     kernel-hidd-pci-amcc460 \
31 #MM     kernel-graphics \
32 #MM     kernel-layers \
33 #MM     kernel-keymap \
34 #MM     kernel-intuition \
35 #MM     kernel-input \
36 #MM     kernel-gameport \
37 #MM     kernel-keyboard \
38 #MM     kernel-console \
39 #MM     kernel-filesystem \
40 #MM     kernel-fs-con \
41 #MM     kernel-fs-afs \
42 #MM     kernel-bootloader \
43 #MM     kernel-dos \
44 #MM     kernel-lddemon \
45 #MM     kernel-dosboot \
46 #MM     kernel-debug \
47 #MM     kernel-ata \
48 #MM     kernel-hidd-pciata \
49 #MM     hidd-i2c \
50 #MM     hidd-i2c-amcc440 \
51 #MM     hidd-radeon \
52 #MM     hidd-usb \
53 #MM     kernel-partition \
54 #MM     workbench-libs-workbench \
55 #MM     kernel-fs-cdvdfs \
56 #MM     kernel-fs-fat \
57 #MM     kernel-fs-sfs \
58 #MM     kernel-fs-ram \
59 #MM     kernel-hidd-gfx \
60 #MM     kernel-hidd-kbd \
61 #MM     kernel-hidd-mouse \
62 #MM     kernel-hidd-bus \
63 #MM     kernel-hidd-storage \
64 #MM     kernel-hidd-system \
65 #MM     hidd-sm502gfx \
66 #MM     kernel-usb-sam440-ppc \
67 #MM     kernel-usb-usbromstartup \
68 #MM     kernel-processor \
69 #MM     kernel-econsole \
70 #MM     kernel-shell \
71 #MM     kernel-shellcommands
73 #MM- kernel-link-sam440-ppc: setup-sam440-ppc kernel-kernel-kobj kernel-exec-kobj kernel-sam440-ppc-quick
75 #MM
76 kernel-link-sam440-ppc: $(AROSARCHDIR)/kernel
78 #MM
79 kernel-link-sam440-ppc-quick: $(AROSARCHDIR)/kernel
81 $(AROSARCHDIR)/kernel: $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o
82         @$(ECHO) "Linking    $(AROS_DIR_ARCH)/kernel"
83         $(TARGET_CC) -nostartfiles -Wl,-Map -Wl,$(OSGENDIR)/boot/kernel.map -Wl,-T -Wl,$(SRCDIR)/$(CURDIR)/ldscript.lds \
84         -o $@ $(KOBJSDIR)/kernel_resource.o $(KOBJSDIR)/exec_library.o \
85         -L$(AROS_LIB) -larossupport -lamiga -lautoinit -llibinit -lstdc.static -lgcc
87 TARGET_ISO := $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso
89 .PHONY: $(DISTDIR)/aros$(AROS_TARGET_SUFFIX)-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU).iso
90         
91 bootiso-sam440-ppc: $(AROSDIR)/.backdrop $(TARGET_ISO)
93 $(AROSDIR)/.backdrop: $(SRCDIR)/workbench/.backdrop
94         @$(CP) $< $@
96 #MM
97 bootiso-sam440-ppc-quick: $(TARGET_ISO)
99 .PHONY: bootiso-sam440-ppc-quick
101 $(TARGET_ISO):
102         %mkdirs_q $(AROSDIR)/S
103         @$(CP) $(SRCDIR)/workbench/s/Startup-Sequence $(AROSDIR)/S/Startup-Sequence
104         @$(MKDIR) -p "$(AROSDIR)/Tools/Boot Disks"
105         @$(MKDIR) -p "$(DISTDIR)"
106         @mkisofs -f \
107                 -o $@ \
108                 -b Parthenope \
109                 -no-emul-boot \
110                 -allow-leading-dots \
111                 -iso-level 4 \
112                 -V "AROS Live CD" \
113                 -publisher "AROS Development Team" \
114                 -sysid "AROS-$(AROS_TARGET_CPU)-$(AROS_TARGET_ARCH)" \
115                 -l -J -r \
116                 $(AROSDIR)
118 #MM setup-sam440-ppc
119 setup-sam440-ppc : $(SRCDIR)/$(CURDIR)/menu.lst
120         %mkdirs_q $(AROSARCHDIR) $(OSGENDIR)/boot $(TARGETDIR)
121         $(CP) $(SRCDIR)/$(CURDIR)/menu.lst $(AROSDIR)/boot/
122 #       $(CP) $(SRCDIR)/$(CURDIR)/menu.lst.DH0 $(AROSARCHDIR)/