Zero is a normal mask value, not a wildcard.
[AROS.git] / rom / mmakefile.src
blob7a1f004196858e4f832a9456dbc5f683e42593b4
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-layers \
24 #MM     kernel-usb-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU) \
25 #MM     workbench-devs-amberram
27 # This metatarget represents all includes for SDK.
28 # Note that it includes also some machine-specific modules (hostlib.resource,
29 # acpi.resource, efi.resource, etc). This is because our SDK is universal.
31 #MM- includes-generate : \
32 #MM     kernel-exec-includes \
33 #MM     kernel-aros-includes \
34 #MM     kernel-cia-includes \
35 #MM     kernel-dos-includes \
36 #MM     kernel-bootloader-includes \
37 #MM     kernel-debug-includes \
38 #MM     kernel-efi-includes \
39 #MM     kernel-hostlib-includes \
40 #MM     kernel-graphics-includes \
41 #MM     kernel-utility-includes \
42 #MM     kernel-intuition-includes \
43 #MM     kernel-keymap-includes \
44 #MM     kernel-partition-includes \
45 #MM     kernel-expansion-includes \
46 #MM     kernel-layers-includes \
47 #MM     kernel-timer-includes \
48 #MM     kernel-oop-includes \
49 #MM     kernel-battclock-includes \
50 #MM     kernel-misc-includes \
51 #MM     kernel-openfirmware-includes \
52 #MM     kernel-processor-includes \
53 #MM     kernel-pc-acpi-includes \
54 #MM     kernel-bestcomm-chrp-ppc-efika-includes \
55 #MM     kernel-rtas-chrp-ppc-includes \
56 #MM     kernel-usb-includes
58 # A shortcut for minimal set of BSP modules.
59 # All these components are machine-specific.
60 #MM- kernel-bsp-objs:                   \
61 #MM     kernel-kernel-kobj              \
62 #MM     kernel-battclock-kobj           \
63 #MM     kernel-processor-kobj           \
64 #MM     kernel-timer-kobj               \
65 #MM     kernel-expansion-kobj           \
66 #MM     kernel-exec-kobj
68 # This is what kickstart base package consists of.
69 # These modules are architecture-independent and can work on both hosted and native systems.
71 BASE_DEVICES  := console input gameport keyboard
72 BASE_HANDLERS := amberram con
73 BASE_HIDD     := hiddclass graphics keyboard mouse
74 BASE_LIBS     := aros debug dos graphics intuition keymap layers oop utility
75 BASE_RSRCS    := bootloader dosboot FileSystem lddemon
77 # *** ELF kickstart package ***
79 #MM- kernel-objs : \
80 #MM     kernel-aros-kobj \
81 #MM     kernel-bootloader-kobj \
82 #MM     kernel-dos-kobj \
83 #MM     kernel-debug-kobj \
84 #MM     kernel-dosboot-kobj \
85 #MM     kernel-filesystem-kobj \
86 #MM     kernel-graphics-kobj \
87 #MM     kernel-hidd-graphics-kobj \
88 #MM     kernel-hidd-kbd-kobj \
89 #MM     kernel-hidd-mouse-kobj \
90 #MM     kernel-utility-kobj \
91 #MM     kernel-intuition-kobj \
92 #MM     kernel-keymap-kobj \
93 #MM     kernel-lddemon-kobj \
94 #MM     kernel-devs \
95 #MM     kernel-fs-kobj \
96 #MM     kernel-hidd-kobj \
97 #MM     kernel-oop-kobj \
98 #MM     kernel-layers-kobj \
99 #MM     kernel-usb-kobj-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU)
101 # Workaround: kernel-kernel-includes is built before kernel-exec-kobj, otherwise building exec
102 # fails (it needs kernel.resource includes). We still do it here because older ports use
103 # own kernel.resource targets (and even different includes)
104 #MM kernel-link-base: kernel-kernel-includes kernel-objs
106 %link_kickstart mmake=kernel-link-base file=$(BINDIR)/boot/aros-base \
107         devs=$(BASE_DEVICES) handlers=$(BASE_HANDLERS) hidds=$(BASE_HIDD) libs=$(BASE_LIBS) res=$(BASE_RSRCS) \
108         uselibs="autoinit libinit amiga arossupport rom arosm hiddstubs" \
109         map=$(GENDIR)/boot/kernel-base.map
111 # *** PKG kickstart package ***
113 #MM kernel-package-base : \
114 #MM     kernel-aros-pkg \
115 #MM     kernel-bootloader-pkg \
116 #MM     kernel-dos-pkg \
117 #MM     kernel-dosboot-pkg \
118 #MM     kernel-debug-pkg \
119 #MM     kernel-filesystem-pkg \
120 #MM     kernel-fs-pkg \
121 #MM     kernel-graphics-pkg \
122 #MM     kernel-hidd-graphics-pkg \
123 #MM     kernel-hidd-kbd-pkg \
124 #MM     kernel-hidd-mouse-pkg \
125 #MM     kernel-utility-pkg \
126 #MM     kernel-intuition-pkg \
127 #MM     kernel-keymap-pkg \
128 #MM     kernel-lddemon-pkg \
129 #MM     kernel-console-pkg \
130 #MM     kernel-gameport-pkg \
131 #MM     kernel-input-pkg \
132 #MM     kernel-keyboard-pkg \
133 #MM     kernel-hidd-pkg \
134 #MM     kernel-oop-pkg \
135 #MM     kernel-layers-pkg
137 %make_package mmake=kernel-package-base file=$(BINDIR)/boot/aros-base.pkg \
138         devs=$(BASE_DEVICES) handlers=$(BASE_HANDLERS) hidds=$(BASE_HIDD) libs=$(BASE_LIBS) res=$(BASE_RSRCS)
140 %common