source: mainline/uspace/Makefile@ c46c356

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since c46c356 was 5119d34, checked in by Ondřej Hlavatý <aearsis@…>, 8 years ago

Added XHCI driver skeleton

  • Property mode set to 100644
File size: 6.0 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/bus/usb/xhci \
162 drv/nic/ne2k \
163 drv/nic/e1k \
164 drv/nic/rtl8139 \
165 drv/nic/rtl8169 \
166 drv/nic/ar9271 \
167 drv/platform/icp
168
169## Platform-specific hardware support
170#
171
172ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
173 DIRS += \
174 drv/platform/pc \
175 drv/bus/pci/pciintel \
176 drv/bus/isa \
177 drv/char/ns8250 \
178 drv/time/cmos-rtc \
179 srv/hw/irc/apic \
180 srv/hw/irc/i8259
181endif
182
183ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
184ifeq ($(MACHINE),msim)
185 DIRS += \
186 drv/platform/msim
187else
188 DIRS += \
189 drv/platform/malta \
190 drv/bus/pci/pciintel \
191 drv/bus/isa
192endif
193endif
194
195ifeq ($(UARCH),ppc32)
196 DIRS += \
197 drv/platform/mac \
198 drv/bus/pci/pciintel \
199 srv/hw/bus/cuda_adb
200endif
201
202ifeq ($(UARCH),sparc64)
203 DIRS += \
204 srv/hw/irc/obio
205ifeq ($(MACHINE),generic)
206 DIRS += \
207 drv/platform/sun4u \
208 drv/bus/pci/pciintel \
209 drv/bus/isa \
210 drv/char/ns8250
211endif
212endif
213
214ifeq ($(UARCH),arm32)
215 DIRS += \
216 drv/platform/amdm37x \
217 drv/fb/amdm37x_dispc \
218 srv/hw/irc/icp-ic
219endif
220
221## Dynamic linking tests
222#
223ifeq ($(CONFIG_BUILD_SHARED_LIBS),y)
224 DIRS += \
225 app/dltest \
226 app/dltests
227endif
228
229## System libraries
230#
231
232LIBC = lib/c
233LIBS = \
234 lib/fs \
235 lib/block \
236 lib/crypto \
237 lib/clui \
238 lib/dltest \
239 lib/fdisk \
240 lib/fmtutil \
241 lib/scsi \
242 lib/compress \
243 lib/softint \
244 lib/softfloat \
245 lib/drv \
246 lib/graph \
247 lib/gui \
248 lib/hound \
249 lib/http \
250 lib/softrend \
251 lib/draw \
252 lib/label \
253 lib/math \
254 lib/nettl \
255 lib/nic \
256 lib/ext4 \
257 lib/trackmod \
258 lib/uri \
259 lib/usb \
260 lib/usbhost \
261 lib/usbdev \
262 lib/usbhid \
263 lib/usbvirt \
264 lib/pcm \
265 lib/pcut \
266 lib/bithenge \
267 lib/posix \
268 lib/ieee80211
269
270LIBC_BUILD = $(addsuffix .build,$(LIBC))
271LIBS_BUILD = $(addsuffix .build,$(LIBS))
272LIBN_BUILD = $(addsuffix .build,$(LIBN))
273BUILDS := $(addsuffix .build,$(DIRS))
274BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c)
275
276CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
277
278.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
279
280all: $(BUILDS) $(BUILDS_TESTS)
281
282$(BUILDS_TESTS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
283 $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK)
284
285clean: $(CLEANS)
286
287$(CLEANS):
288 -$(MAKE) -r -C $(basename $@) clean
289
290$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
291 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
292
293$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
294 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
295
296$(LIBS_BUILD): $(LIBC_BUILD)
297 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
298
299$(LIBC_BUILD):
300 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.