source: mainline/uspace/Makefile@ b402cf95

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

Add MSIM platform driver with support for ddisk function.

  • Property mode set to 100644
File size: 5.6 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/fontviewer \
48 app/getterm \
49 app/hdisk \
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/nterm \
63 app/redir \
64 app/rcutest \
65 app/rcubench \
66 app/sbi \
67 app/sportdmp \
68 app/stats \
69 app/taskdump \
70 app/tester \
71 app/testread \
72 app/testwrit \
73 app/tetris \
74 app/trace \
75 app/top \
76 app/untar \
77 app/usbinfo \
78 app/vuhid \
79 app/netecho \
80 app/netspeed \
81 app/nettest1 \
82 app/nettest2 \
83 app/nettest3 \
84 app/nic \
85 app/ping \
86 app/sysinfo \
87 app/mkbd \
88 app/date \
89 app/vdemo \
90 app/viewer \
91 app/vlaunch \
92 app/vterm \
93 app/df \
94 app/wavplay \
95 app/websrv \
96 srv/audio/hound \
97 srv/clipboard \
98 srv/locsrv \
99 srv/logger \
100 srv/klog \
101 srv/devman \
102 srv/loader \
103 srv/net/dhcp \
104 srv/net/dnsrsrv \
105 srv/net/ethip \
106 srv/net/inetsrv \
107 srv/net/loopip \
108 srv/net/nconfsrv \
109 srv/net/slip \
110 srv/net/tcp \
111 srv/net/udp \
112 srv/ns \
113 srv/taskmon \
114 srv/vfs \
115 srv/bd/sata_bd \
116 srv/bd/file_bd \
117 srv/bd/rd \
118 srv/bd/part/guid_part \
119 srv/bd/part/mbr_part \
120 srv/fs/exfat \
121 srv/fs/udf \
122 srv/fs/fat \
123 srv/fs/cdfs \
124 srv/fs/tmpfs \
125 srv/fs/mfs \
126 srv/fs/locfs \
127 srv/fs/ext4fs \
128 srv/hid/compositor \
129 srv/hid/console \
130 srv/hid/s3c24xx_ts \
131 srv/hid/isdv4_tablet \
132 srv/hid/input \
133 srv/hid/output \
134 srv/hid/remcons \
135 srv/hw/char/s3c24xx_uart \
136 srv/hid/rfb \
137 drv/audio/hdaudio \
138 drv/audio/sb16 \
139 drv/root/root \
140 drv/root/virt \
141 drv/block/ahci \
142 drv/block/ata_bd \
143 drv/char/i8042 \
144 drv/char/pl050 \
145 drv/char/ps2mouse \
146 drv/char/xtkbd \
147 drv/test/test1 \
148 drv/test/test2 \
149 drv/test/test3 \
150 drv/fb/kfb \
151 drv/bus/usb/ehci \
152 drv/bus/usb/ohci \
153 drv/bus/usb/uhci \
154 drv/bus/usb/uhcirh \
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/platform/icp
166
167## Platform-specific hardware support
168#
169
170ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
171 DIRS += \
172 drv/platform/pc \
173 drv/bus/pci/pciintel \
174 drv/bus/isa \
175 drv/char/ns8250 \
176 drv/time/cmos-rtc \
177 srv/hw/irc/apic \
178 srv/hw/irc/i8259
179endif
180
181ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
182ifeq ($(MACHINE),msim)
183 DIRS += \
184 drv/platform/msim
185else
186 DIRS += \
187 drv/platform/malta \
188 drv/bus/pci/pciintel \
189 drv/bus/isa
190endif
191endif
192
193ifeq ($(UARCH),ppc32)
194 DIRS += \
195 drv/platform/mac \
196 drv/bus/pci/pciintel \
197 srv/hw/bus/cuda_adb
198endif
199
200ifeq ($(UARCH),sparc64)
201 DIRS += \
202 srv/hw/irc/obio
203endif
204
205ifeq ($(UARCH),arm32)
206 DIRS += \
207 drv/platform/amdm37x \
208 drv/fb/amdm37x_dispc \
209 srv/hw/irc/icp-ic
210endif
211
212## System libraries
213#
214
215LIBC = lib/c
216LIBS = \
217 lib/fs \
218 lib/block \
219 lib/clui \
220 lib/fmtutil \
221 lib/scsi \
222 lib/compress \
223 lib/softint \
224 lib/softfloat \
225 lib/drv \
226 lib/graph \
227 lib/gui \
228 lib/hound \
229 lib/http \
230 lib/softrend \
231 lib/draw \
232 lib/math \
233 lib/net \
234 lib/nic \
235 lib/ext4 \
236 lib/trackmod \
237 lib/uri \
238 lib/urcu \
239 lib/usb \
240 lib/usbhost \
241 lib/usbdev \
242 lib/usbhid \
243 lib/usbvirt \
244 lib/pcm \
245 lib/pcut \
246 lib/bithenge \
247 lib/posix \
248 lib/mbr \
249 lib/gpt
250
251LIBC_BUILD = $(addsuffix .build,$(LIBC))
252LIBS_BUILD = $(addsuffix .build,$(LIBS))
253LIBN_BUILD = $(addsuffix .build,$(LIBN))
254BUILDS := $(addsuffix .build,$(DIRS))
255BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c)
256
257CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
258
259.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
260
261all: $(BUILDS) $(BUILDS_TESTS)
262
263$(BUILDS_TESTS): $(BUILDS)
264 $(MAKE) -C $(basename $@) all-test PRECHECK=$(PRECHECK)
265
266clean: $(CLEANS)
267
268$(CLEANS):
269 -$(MAKE) -C $(basename $@) clean
270
271$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
272 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
273
274$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
275 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
276
277$(LIBS_BUILD): $(LIBC_BUILD)
278 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
279
280$(LIBC_BUILD):
281 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.