source: mainline/uspace/Makefile@ 6e5562a

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 6e5562a was 405b67c, checked in by Jakub Jermar <jakub@…>, 9 years ago

Include the isa and ns8250 drivers in the sparc64 RAM disk image

The UltraSPARC IIi-based machines come with a bus called EBus, which
is essentially very similar to the ISA bus. Fortunately, we can use
our current isa driver for the time being.

  • Property mode set to 100644
File size: 5.9 KB
Line 
1#
2# Copyright (c) 2005 Martin Decky
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8#
9# - Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# - Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution.
14# - The name of the author may not be used to endorse or promote products
15# derived from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27#
28
29-include ../Makefile.common
30-include ../Makefile.config
31
32## Common binaries
33#
34
35DIRS = \
36 app/barber \
37 app/bdsh \
38 app/bithenge \
39 app/blkdump \
40 app/bnchmark \
41 app/corecfg \
42 app/devctl \
43 app/dnscfg \
44 app/dnsres \
45 app/download \
46 app/edit \
47 app/fdisk \
48 app/fontviewer \
49 app/getterm \
50 app/init \
51 app/inet \
52 app/kill \
53 app/killall \
54 app/kio \
55 app/loc \
56 app/logset \
57 app/mixerctl \
58 app/mkfat \
59 app/mkexfat \
60 app/mkmfs \
61 app/modplay \
62 app/netecho \
63 app/nterm \
64 app/redir \
65 app/rcutest \
66 app/rcubench \
67 app/sbi \
68 app/sportdmp \
69 app/stats \
70 app/taskdump \
71 app/tester \
72 app/testread \
73 app/testwrit \
74 app/tetris \
75 app/trace \
76 app/top \
77 app/untar \
78 app/usbinfo \
79 app/vuhid \
80 app/nic \
81 app/ping \
82 app/sysinfo \
83 app/sysinst \
84 app/mkbd \
85 app/date \
86 app/vcalc \
87 app/vdemo \
88 app/viewer \
89 app/vlaunch \
90 app/vterm \
91 app/df \
92 app/wavplay \
93 app/websrv \
94 app/wifi_supplicant \
95 srv/audio/hound \
96 srv/clipboard \
97 srv/locsrv \
98 srv/logger \
99 srv/klog \
100 srv/devman \
101 srv/loader \
102 srv/net/dhcp \
103 srv/net/dnsrsrv \
104 srv/net/ethip \
105 srv/net/inetsrv \
106 srv/net/loopip \
107 srv/net/nconfsrv \
108 srv/net/slip \
109 srv/net/tcp \
110 srv/net/udp \
111 srv/ns \
112 srv/taskmon \
113 srv/vfs \
114 srv/bd/sata_bd \
115 srv/bd/file_bd \
116 srv/bd/rd \
117 srv/bd/vbd \
118 srv/fs/exfat \
119 srv/fs/udf \
120 srv/fs/fat \
121 srv/fs/cdfs \
122 srv/fs/tmpfs \
123 srv/fs/mfs \
124 srv/fs/locfs \
125 srv/fs/ext4fs \
126 srv/volsrv \
127 srv/hid/compositor \
128 srv/hid/console \
129 srv/hid/s3c24xx_ts \
130 srv/hid/isdv4_tablet \
131 srv/hid/input \
132 srv/hid/output \
133 srv/hid/remcons \
134 srv/hw/char/s3c24xx_uart \
135 srv/hid/rfb \
136 drv/audio/hdaudio \
137 drv/audio/sb16 \
138 drv/root/root \
139 drv/root/virt \
140 drv/block/ahci \
141 drv/block/ata_bd \
142 drv/block/ddisk \
143 drv/char/i8042 \
144 drv/char/pl050 \
145 drv/char/ps2mouse \
146 drv/char/atkbd \
147 drv/char/xtkbd \
148 drv/test/test1 \
149 drv/test/test2 \
150 drv/test/test3 \
151 drv/fb/kfb \
152 drv/bus/usb/ehci \
153 drv/bus/usb/ohci \
154 drv/bus/usb/uhci \
155 drv/bus/usb/usbflbk \
156 drv/bus/usb/usbhid \
157 drv/bus/usb/usbhub \
158 drv/bus/usb/usbmast \
159 drv/bus/usb/usbmid \
160 drv/bus/usb/vhc \
161 drv/nic/ne2k \
162 drv/nic/e1k \
163 drv/nic/rtl8139 \
164 drv/nic/rtl8169 \
165 drv/nic/ar9271 \
166 drv/platform/icp
167
168## Platform-specific hardware support
169#
170
171ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
172 DIRS += \
173 drv/platform/pc \
174 drv/bus/pci/pciintel \
175 drv/bus/isa \
176 drv/char/ns8250 \
177 drv/time/cmos-rtc \
178 srv/hw/irc/apic \
179 srv/hw/irc/i8259
180endif
181
182ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
183ifeq ($(MACHINE),msim)
184 DIRS += \
185 drv/platform/msim
186else
187 DIRS += \
188 drv/platform/malta \
189 drv/bus/pci/pciintel \
190 drv/bus/isa
191endif
192endif
193
194ifeq ($(UARCH),ppc32)
195 DIRS += \
196 drv/platform/mac \
197 drv/bus/pci/pciintel \
198 srv/hw/bus/cuda_adb
199endif
200
201ifeq ($(UARCH),sparc64)
202 DIRS += \
203 srv/hw/irc/obio
204ifeq ($(MACHINE),generic)
205 DIRS += \
206 drv/platform/sun4u \
207 drv/bus/pci/pciintel \
208 drv/bus/isa \
209 drv/char/ns8250
210endif
211endif
212
213ifeq ($(UARCH),arm32)
214 DIRS += \
215 drv/platform/amdm37x \
216 drv/fb/amdm37x_dispc \
217 srv/hw/irc/icp-ic
218endif
219
220## Dynamic linking tests
221#
222ifeq ($(CONFIG_BUILD_SHARED_LIBS),y)
223 DIRS += \
224 app/dltest \
225 app/dltests
226endif
227
228## System libraries
229#
230
231LIBC = lib/c
232LIBS = \
233 lib/fs \
234 lib/block \
235 lib/crypto \
236 lib/clui \
237 lib/dltest \
238 lib/fdisk \
239 lib/fmtutil \
240 lib/scsi \
241 lib/compress \
242 lib/softint \
243 lib/softfloat \
244 lib/drv \
245 lib/graph \
246 lib/gui \
247 lib/hound \
248 lib/http \
249 lib/softrend \
250 lib/draw \
251 lib/label \
252 lib/math \
253 lib/nettl \
254 lib/nic \
255 lib/ext4 \
256 lib/trackmod \
257 lib/uri \
258 lib/usb \
259 lib/usbhost \
260 lib/usbdev \
261 lib/usbhid \
262 lib/usbvirt \
263 lib/pcm \
264 lib/pcut \
265 lib/bithenge \
266 lib/posix \
267 lib/ieee80211
268
269LIBC_BUILD = $(addsuffix .build,$(LIBC))
270LIBS_BUILD = $(addsuffix .build,$(LIBS))
271LIBN_BUILD = $(addsuffix .build,$(LIBN))
272BUILDS := $(addsuffix .build,$(DIRS))
273BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c)
274
275CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
276
277.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
278
279all: $(BUILDS) $(BUILDS_TESTS)
280
281$(BUILDS_TESTS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
282 $(MAKE) -C $(basename $@) all-test PRECHECK=$(PRECHECK)
283
284clean: $(CLEANS)
285
286$(CLEANS):
287 -$(MAKE) -C $(basename $@) clean
288
289$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
290 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
291
292$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
293 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
294
295$(LIBS_BUILD): $(LIBC_BUILD)
296 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
297
298$(LIBC_BUILD):
299 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.