Removed __startup attribute. It is already present in AROS_SHxx definition, and doubl...
[AROS.git] / rom / mmakefile.src
blobde9e95202fdbc574e77260e397616029557087a1
1 # $Id$
2 include $(TOP)/config/make.cfg
4 #MM- kernel-modules : \
5 #MM     kernel-aros \
6 #MM     kernel-disk \
7 #MM     kernel-dos \
8 #MM     kernel-debug \
9 #MM     kernel-fs-con \
10 #MM     kernel-graphics \
11 #MM     kernel-hidd-graphics \
12 #MM     kernel-hidd-kbd \
13 #MM     kernel-hidd-mouse \
14 #MM     kernel-utility \
15 #MM     kernel-intuition \
16 #MM     kernel-keymap \
17 #MM     kernel-devs-console \
18 #MM     kernel-devs-gameport \
19 #MM     kernel-devs-input \
20 #MM     kernel-devs-keyboard \
21 #MM     kernel-hidd \
22 #MM     kernel-oop \
23 #MM     kernel-pci \
24 #MM     kernel-layers \
25 #MM     kernel-usb-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU) \
26 #MM     workbench-devs-amberram
28 # This metatarget represents all includes for SDK.
29 # Note that it includes also some machine-specific modules (hostlib.resource,
30 # acpi.resource, efi.resource, etc). This is because our SDK is universal.
32 #MM- includes-generate : \
33 #MM     kernel-kernel-includes \
34 #MM     kernel-exec-includes \
35 #MM     kernel-aros-includes \
36 #MM     kernel-cia-includes \
37 #MM     kernel-dos-includes \
38 #MM     kernel-bootloader-includes \
39 #MM     kernel-debug-includes \
40 #MM     kernel-efi-includes \
41 #MM     kernel-hostlib-includes \
42 #MM     kernel-graphics-includes \
43 #MM     kernel-utility-includes \
44 #MM     kernel-intuition-includes \
45 #MM     kernel-keymap-includes \
46 #MM     kernel-partition-includes \
47 #MM     kernel-expansion-includes \
48 #MM     kernel-layers-includes \
49 #MM     kernel-timer-includes \
50 #MM     kernel-oop-includes \
51 #MM     kernel-pci-includes \
52 #MM     kernel-battclock-includes \
53 #MM     kernel-misc-includes \
54 #MM     kernel-openfirmware-includes \
55 #MM     kernel-processor-includes \
56 #MM     kernel-pc-acpi-includes \
57 #MM     kernel-bestcomm-chrp-ppc-efika-includes \
58 #MM     kernel-rtas-chrp-ppc-includes \
59 #MM     kernel-usb-includes
61 # A shortcut for minimal set of BSP modules.
62 # All these components are machine-specific.
63 #MM- kernel-bsp-objs:                   \
64 #MM     kernel-kernel-kobj              \
65 #MM     kernel-battclock-kobj           \
66 #MM     kernel-processor-kobj           \
67 #MM     kernel-timer-kobj               \
68 #MM     kernel-expansion-kobj           \
69 #MM     kernel-exec-kobj
71 # This is what kickstart base package consists of.
72 # These modules are architecture-independent and can work on both hosted and native systems.
74 BASE_DEVICES  := console input gameport keyboard
75 BASE_HANDLERS := amberram con
76 BASE_HIDD     := hiddclass graphics keyboard mouse
77 BASE_LIBS     := aros debug dos graphics intuition keymap layers oop utility
78 BASE_RSRCS    := bootloader dosboot FileSystem lddemon
80 # *** ELF kickstart package ***
82 #MM- kernel-objs : \
83 #MM     kernel-aros-kobj \
84 #MM     kernel-bootloader-kobj \
85 #MM     kernel-dos-kobj \
86 #MM     kernel-debug-kobj \
87 #MM     kernel-dosboot-kobj \
88 #MM     kernel-filesystem-kobj \
89 #MM     kernel-graphics-kobj \
90 #MM     kernel-hidd-graphics-kobj \
91 #MM     kernel-hidd-kbd-kobj \
92 #MM     kernel-hidd-mouse-kobj \
93 #MM     kernel-utility-kobj \
94 #MM     kernel-intuition-kobj \
95 #MM     kernel-keymap-kobj \
96 #MM     kernel-lddemon-kobj \
97 #MM     kernel-devs \
98 #MM     kernel-fs-kobj \
99 #MM     kernel-hidd-kobj \
100 #MM     kernel-oop-kobj \
101 #MM     kernel-layers-kobj \
102 #MM     kernel-usb-kobj-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU)
104 # Workaround: kernel-kernel-includes is built before kernel-exec-kobj, otherwise building exec
105 # fails (it needs kernel.resource includes). We still do it here because older ports use
106 # own kernel.resource targets (and even different includes)
107 #MM kernel-link-base: kernel-kernel-includes kernel-objs
109 %link_kickstart mmake=kernel-link-base file=$(BINDIR)/boot/aros-base \
110         devs=$(BASE_DEVICES) handlers=$(BASE_HANDLERS) hidds=$(BASE_HIDD) libs=$(BASE_LIBS) res=$(BASE_RSRCS) \
111         uselibs="autoinit libinit amiga arossupport arosc.static arosm hiddstubs" \
112         map=$(GENDIR)/boot/kernel-base.map
114 # *** PKG kickstart package ***
116 #MM kernel-package-base : \
117 #MM     kernel-aros-pkg \
118 #MM     kernel-bootloader-pkg \
119 #MM     kernel-dos-pkg \
120 #MM     kernel-dosboot-pkg \
121 #MM     kernel-debug-pkg \
122 #MM     kernel-filesystem-pkg \
123 #MM     kernel-fs-pkg \
124 #MM     kernel-graphics-pkg \
125 #MM     kernel-hidd-graphics-pkg \
126 #MM     kernel-hidd-kbd-pkg \
127 #MM     kernel-hidd-mouse-pkg \
128 #MM     kernel-utility-pkg \
129 #MM     kernel-intuition-pkg \
130 #MM     kernel-keymap-pkg \
131 #MM     kernel-lddemon-pkg \
132 #MM     kernel-console-pkg \
133 #MM     kernel-gameport-pkg \
134 #MM     kernel-input-pkg \
135 #MM     kernel-keyboard-pkg \
136 #MM     kernel-hidd-pkg \
137 #MM     kernel-oop-pkg \
138 #MM     kernel-layers-pkg
140 %make_package mmake=kernel-package-base file=$(BINDIR)/boot/aros-base.pkg \
141         devs=$(BASE_DEVICES) handlers=$(BASE_HANDLERS) hidds=$(BASE_HIDD) libs=$(BASE_LIBS) res=$(BASE_RSRCS)
143 %common