Correct a few library dependency tracking mistakes

Change-Id: I3d509db3946ca6c284be64c92c4cec313cc4ca1b
This commit is contained in:
David van Moolenbroek 2014-07-10 12:18:11 +02:00 committed by Lionel Sambuc
parent a8492e9397
commit 87d31b0645
6 changed files with 22 additions and 8 deletions

View file

@ -6,7 +6,7 @@ PROG= i2c
SRCS+= i2c.c
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS} ${CLKCONF}
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS} ${LIBCLKCONF}
LDADD+= -lchardriver -lsys -ltimers -lclkconf
MAN=

View file

@ -4,7 +4,7 @@ SRCS= main.c random.c rijndael_api.c rijndael_alg.c
.PATH: ${.CURDIR}/aes
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBMINIXUTIL}
DPADD+= ${LIBCHARDRIVER} ${LIBSYS}
LDADD+= -lchardriver -lsys
MAN=

View file

@ -6,5 +6,5 @@ HERE=${.CURDIR}/arch/${MACHINE_ARCH}
SRCS += arch_readclock.c omap_rtc.c omap_rtc.h
DPADD+= ${CLKCONF}
DPADD+= ${LIBCLKCONF}
LDADD+= -lclkconf

View file

@ -2,7 +2,7 @@
PROG= tps65217
SRCS= tps65217.c
DPADD+= ${LIBI2CDRIVER} ${CLKCONF} ${LIBSYS} ${LIBTIMERS}
DPADD+= ${LIBI2CDRIVER} ${LIBCLKCONF} ${LIBSYS} ${LIBTIMERS}
LDADD+= -li2cdriver -lclkconf -lsys -ltimers
MAN=

View file

@ -14,7 +14,7 @@ SRCS= buf.c clock.c inet.c inet_config.c \
WARNS=
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBMINIXUTIL}
DPADD+= ${LIBCHARDRIVER} ${LIBSYS}
LDADD+= -lchardriver -lsys
LDADD+= -lc

View file

@ -215,18 +215,32 @@ LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib:S/xx/++/:S/atf_c/atf-c/}.a
bdev \
blockdriver \
chardriver \
clkconf \
compat_minix \
ddekit \
ddekit_usb_client \
ddekit_usb_server \
devman \
elf \
exec \
ddekit \
devman \
gpio \
hgfs \
i2cdriver \
inputdriver \
lwip \
minc \
minixfs \
minlib \
mthread \
netdriver \
netsock \
sffs \
sys \
timers \
usb
usb \
vboxfs \
virtio \
vtreefs
.ifndef LIB${_lib:tu}
LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib:S/xx/++/:S/atf_c/atf-c/}.a
.MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded