source: mainline/uspace/Makefile@ 22e80508

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 22e80508 was a14f346, checked in by Jan Vesely <jano.vesely@…>, 13 years ago

amdm37x_dispc: Replace kenrel driver with uspace one.

Works on qemu.

  • Property mode set to 100644
File size: 5.1 KB
RevLine 
[c2ee1c5c]1#
[df4ed85]2# Copyright (c) 2005 Martin Decky
[c2ee1c5c]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
[177e4ea]29-include ../Makefile.common
[9a0367f]30-include ../Makefile.config
[c2ee1c5c]31
[1b1164e8]32## Common binaries
33#
34
[ecfd7e5]35DIRS = \
[b3d513f]36 app/bdsh \
[a54bd98]37 app/bithenge \
[32d3ebf]38 app/blkdump \
[423f64f]39 app/bnchmark \
[7beb220]40 app/devctl \
[b3d513f]41 app/edit \
42 app/getterm \
43 app/init \
[b4ec1ea]44 app/inet \
[1e9f8ab]45 app/kill \
[c4faa0c]46 app/killall \
[b3d513f]47 app/klog \
[32d96e1]48 app/loc \
[669f5cae]49 app/logset \
[dccf721]50 app/mkfat \
[e872326]51 app/mkexfat \
[7a46bfe]52 app/mkmfs \
[01a7aa1]53 app/nterm \
[b3d513f]54 app/redir \
[09ababb7]55 app/sbi \
[c0e53ff]56 app/sportdmp \
[3d482e0]57 app/stats \
[336db295]58 app/taskdump \
[b3d513f]59 app/tester \
[6b3e7f7f]60 app/testread \
[2966122]61 app/testwrit \
[b3d513f]62 app/tetris \
63 app/trace \
[5c058d50]64 app/top \
[07b9203e]65 app/usbinfo \
[57c7050]66 app/vuhid \
[a79d88d]67 app/netecho \
68 app/nettest1 \
69 app/nettest2 \
[92e717c]70 app/nettest3 \
[a79d88d]71 app/ping \
[a3eeef45]72 app/sysinfo \
[4880210]73 app/mkbd \
[fd37139d]74 app/date \
[3e67ab1]75 app/websrv \
[6d5e378]76 app/vdemo \
77 app/vlaunch \
78 app/vterm \
[d3a8e47]79 srv/clipboard \
[32d96e1]80 srv/locsrv \
[1f2dd20]81 srv/logger \
[e4c4247]82 srv/devman \
[b3d513f]83 srv/loader \
[69a93df7]84 srv/net/ethip \
[b4ec1ea]85 srv/net/inetsrv \
[606c369]86 srv/net/loopip \
[69a93df7]87 srv/net/tcp \
88 srv/net/udp \
[b3d513f]89 srv/ns \
[a074b4f]90 srv/taskmon \
[b3d513f]91 srv/vfs \
[f8ef660]92 srv/bd/ata_bd \
[9904eb90]93 srv/bd/sata_bd \
[2a18193c]94 srv/bd/file_bd \
[44a53fd]95 srv/bd/gxe_bd \
[e7645de]96 srv/bd/rd \
[975e7e9]97 srv/bd/part/guid_part \
[b3d513f]98 srv/bd/part/mbr_part \
[db9aa04]99 srv/fs/exfat \
[48e3190]100 srv/fs/udf \
[c0cdcaf]101 srv/fs/fat \
[a26895d]102 srv/fs/cdfs \
[d5cdffe]103 srv/fs/tmpfs \
[7a46bfe]104 srv/fs/mfs \
[15f3c3f]105 srv/fs/locfs \
[d3a9ae74]106 srv/fs/ext4fs \
[6d5e378]107 srv/hid/compositor \
[c6f08726]108 srv/hid/console \
[527298a]109 srv/hid/s3c24xx_ts \
[f66ca57f]110 srv/hid/isdv4_tablet \
[5f88293]111 srv/hid/input \
[6d5e378]112 srv/hid/output \
[21a9869]113 srv/hid/remcons \
[a9b5b5f]114 srv/hw/char/s3c24xx_uart \
[5203e256]115 drv/infrastructure/root \
116 drv/infrastructure/rootvirt \
[9904eb90]117 drv/block/ahci \
[4d8e203]118 drv/char/i8042 \
[38994e3]119 drv/char/ps2mouse \
[4d8e203]120 drv/char/xtkbd \
[5203e256]121 drv/test/test1 \
122 drv/test/test2 \
123 drv/test/test3 \
[6d5e378]124 drv/fb/kfb \
[5203e256]125 drv/bus/usb/ehci \
126 drv/bus/usb/ohci \
127 drv/bus/usb/uhci \
128 drv/bus/usb/uhcirh \
129 drv/bus/usb/usbflbk \
130 drv/bus/usb/usbhid \
131 drv/bus/usb/usbhub \
132 drv/bus/usb/usbmast \
133 drv/bus/usb/usbmid \
[00d7e1b]134 drv/bus/usb/vhc \
[9916841]135 drv/nic/ne2k \
[f0b74b2]136 drv/nic/e1k \
[a2e4889]137 drv/nic/rtl8139 \
[14f1db0]138
[e76e833f]139ifeq ($(CONFIG_PCC),y)
140DIRS += \
141 app/cc \
142 app/ccom \
143 app/ccom/mkext \
144 app/cpp
145endif
146
[10a530cc]147ifeq ($(CONFIG_BINUTILS),y)
148DIRS += \
149 app/binutils
150endif
151
[3f0ea0e2]152ifeq ($(CONFIG_MSIM),y)
153DIRS += \
154 app/msim
155endif
156
[1b1164e8]157## Platform-specific hardware support
158#
[c2ee1c5c]159
[fcd7053]160ifeq ($(UARCH),amd64)
[acc7ce4]161 DIRS += \
[5203e256]162 drv/infrastructure/rootpc \
163 drv/bus/pci/pciintel \
164 drv/bus/isa \
165 drv/char/ns8250 \
[5ef13847]166 drv/time/cmos-rtc \
[acc7ce4]167 srv/hw/irc/apic \
168 srv/hw/irc/i8259
[5a4c754]169endif
[41f7564]170
[fcd7053]171ifeq ($(UARCH),ia32)
[acc7ce4]172 DIRS += \
[5203e256]173 drv/infrastructure/rootpc \
174 drv/bus/pci/pciintel \
175 drv/bus/isa \
176 drv/char/ns8250 \
[5ef13847]177 drv/time/cmos-rtc \
[acc7ce4]178 srv/hw/irc/apic \
179 srv/hw/irc/i8259
[37458472]180endif
[5a4c754]181
[3a2f8aa]182ifeq ($(UARCH),ppc32)
[73d288c]183 DIRS += \
[5203e256]184 drv/infrastructure/rootmac \
[cb3dbb63]185 drv/bus/pci/pciintel \
[73d288c]186 srv/hw/bus/cuda_adb
[3a2f8aa]187endif
188
[3e5a814]189ifeq ($(UARCH),sparc64)
[42742c5a]190 DIRS += \
[acc7ce4]191 srv/hw/irc/obio
[3e5a814]192endif
193
[09a0a8f0]194ifeq ($(UARCH),arm32)
195 DIRS += \
[a14f346]196 drv/infrastructure/rootamdm37x \
197 drv/fb/amdm37x_dispc
[09a0a8f0]198endif
199
[1b1164e8]200## System libraries
201#
202
[63f8966]203LIBC = lib/c
[e035612]204LIBS = \
[63f8966]205 lib/fs \
206 lib/block \
[36a75a2]207 lib/clui \
[22cf42d9]208 lib/fmtutil \
[0feaae4]209 lib/scsi \
[e035612]210 lib/softint \
[e5773c6]211 lib/softfloat \
[c47e1a8]212 lib/drv \
[6d5e378]213 lib/graph \
214 lib/gui \
215 lib/softrend \
216 lib/draw \
[3bd76491]217 lib/net \
[00d7e1b]218 lib/nic \
[eb91db7]219 lib/ext4 \
[8d6c1f1]220 lib/usb \
221 lib/usbhost \
222 lib/usbdev \
223 lib/usbhid \
[2af29ed]224 lib/usbvirt \
[681a985]225 lib/bithenge \
[2d2b8e6]226 lib/posix
[e035612]227
228LIBC_BUILD = $(addsuffix .build,$(LIBC))
229LIBS_BUILD = $(addsuffix .build,$(LIBS))
[14f1db0]230LIBN_BUILD = $(addsuffix .build,$(LIBN))
231BUILDS := $(addsuffix .build,$(DIRS))
[e035612]232
[14f1db0]233CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
[1b1164e8]234
[14f1db0]235.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
[c2ee1c5c]236
[cc1f8d4]237all: $(BUILDS)
[c2ee1c5c]238
[25b0e6a]239clean: $(CLEANS)
[c2ee1c5c]240
[25b0e6a]241$(CLEANS):
[24d6efc]242 -$(MAKE) -C $(basename $@) clean
[c2ee1c5c]243
[14f1db0]244$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
245 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
246
247$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
[8786aa5]248 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]249
250$(LIBS_BUILD): $(LIBC_BUILD)
[8786aa5]251 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]252
253$(LIBC_BUILD):
[8786aa5]254 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.