Prefs:Printer - Add terrible hack for m68k
[AROS.git] / rom / mmakefile.src
blob4748c4dee47e0ff0869f551823153c6914d5cd47
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)
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-kernel-includes \
33 #MM     kernel-exec-includes \
34 #MM     kernel-aros-includes \
35 #MM     kernel-ata-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-hidd-includes \
42 #MM     kernel-hostlib-includes \
43 #MM     kernel-graphics-includes \
44 #MM     kernel-utility-includes \
45 #MM     kernel-intuition-includes \
46 #MM     kernel-keymap-includes \
47 #MM     kernel-partition-includes \
48 #MM     kernel-expansion-includes \
49 #MM     kernel-layers-includes \
50 #MM     kernel-timer-includes \
51 #MM     kernel-oop-includes \
52 #MM     kernel-pci-includes \
53 #MM     kernel-battclock-includes \
54 #MM     kernel-misc-includes \
55 #MM     kernel-openfirmware-includes \
56 #MM     kernel-processor-includes \
57 #MM     kernel-pc-acpi-includes \
58 #MM     kernel-bestcomm-chrp-ppc-efika-includes \
59 #MM     kernel-rtas-chrp-ppc-includes \
60 #MM     kernel-usb-includes
62 # A shortcut for minimal set of BSP modules.
63 # All these components are machine-specific.
64 #MM- kernel-bsp-objs:                   \
65 #MM     kernel-kernel-kobj              \
66 #MM     kernel-battclock-kobj           \
67 #MM     kernel-processor-kobj           \
68 #MM     kernel-timer-kobj               \
69 #MM     kernel-expansion-kobj           \
70 #MM     kernel-exec-kobj
72 #MM- kernel-bsp-pkg:                    \
73 #MM     kernel-kernel-pkg               \
74 #MM     kernel-battclock-pkg            \
75 #MM     kernel-processor-pkg            \
76 #MM     kernel-timer-pkg                \
77 #MM     kernel-expansion-pkg            \
78 #MM     kernel-exec-pkg
80 # This is what kickstart base package consists of.
81 # These modules are architecture-independent and can work on both hosted and native systems.
83 BASE_DEVICES  := console input gameport keyboard
84 BASE_HANDLERS := ram con
85 BASE_HIDD     := hiddclass graphics keyboard mouse
86 BASE_LIBS     := aros debug dos graphics intuition keymap layers oop utility
87 BASE_RSRCS    := bootloader dosboot FileSystem lddemon
89 # *** ELF kickstart package ***
91 #MM- kernel-objs : \
92 #MM     kernel-aros-kobj \
93 #MM     kernel-bootloader-kobj \
94 #MM     kernel-dos-kobj \
95 #MM     kernel-debug-kobj \
96 #MM     kernel-dosboot-kobj \
97 #MM     kernel-filesystem-kobj \
98 #MM     kernel-graphics-kobj \
99 #MM     kernel-hidd-graphics-kobj \
100 #MM     kernel-hidd-kbd-kobj \
101 #MM     kernel-hidd-mouse-kobj \
102 #MM     kernel-utility-kobj \
103 #MM     kernel-intuition-kobj \
104 #MM     kernel-keymap-kobj \
105 #MM     kernel-lddemon-kobj \
106 #MM     kernel-devs \
107 #MM     kernel-fs-kobj \
108 #MM     kernel-hidd-kobj \
109 #MM     kernel-oop-kobj \
110 #MM     kernel-layers-kobj \
111 #MM     kernel-usb-kobj-$(AROS_TARGET_ARCH)-$(AROS_TARGET_CPU)
113 # Workaround: kernel-kernel-includes is built before kernel-exec-kobj, otherwise building exec
114 # fails (it needs kernel.resource includes). We still do it here because older ports use
115 # own kernel.resource targets (and even different includes)
116 #MM kernel-link-base: kernel-kernel-includes kernel-objs
118 %link_kickstart mmake=kernel-link-base file=$(BINDIR)/boot/aros-base \
119         devs=$(BASE_DEVICES) handlers=$(BASE_HANDLERS) hidds=$(BASE_HIDD) libs=$(BASE_LIBS) res=$(BASE_RSRCS) \
120         uselibs="autoinit libinit amiga arossupport arosc.static arosm hiddstubs" \
121         map=$(GENDIR)/boot/kernel-base.map
123 # *** PKG kickstart package ***
125 #MM kernel-package-base : \
126 #MM     kernel-aros-pkg \
127 #MM     kernel-bootloader-pkg \
128 #MM     kernel-dos-pkg \
129 #MM     kernel-dosboot-pkg \
130 #MM     kernel-debug-pkg \
131 #MM     kernel-filesystem-pkg \
132 #MM     kernel-fs-pkg \
133 #MM     kernel-graphics-pkg \
134 #MM     kernel-hidd-graphics-pkg \
135 #MM     kernel-hidd-kbd-pkg \
136 #MM     kernel-hidd-mouse-pkg \
137 #MM     kernel-utility-pkg \
138 #MM     kernel-intuition-pkg \
139 #MM     kernel-keymap-pkg \
140 #MM     kernel-lddemon-pkg \
141 #MM     kernel-console-pkg \
142 #MM     kernel-gameport-pkg \
143 #MM     kernel-input-pkg \
144 #MM     kernel-keyboard-pkg \
145 #MM     kernel-hidd-pkg \
146 #MM     kernel-oop-pkg \
147 #MM     kernel-layers-pkg
149 %make_package mmake=kernel-package-base file=$(BINDIR)/boot/aros-base.pkg \
150         devs=$(BASE_DEVICES) handlers=$(BASE_HANDLERS) hidds=$(BASE_HIDD) libs=$(BASE_LIBS) res=$(BASE_RSRCS)
152 %common