Include bufq priority implementations also and link librump with

--whole-archive since the bufq priorities use link sets.
This commit is contained in:
pooka 2007-10-31 17:53:38 +00:00
parent baea362887
commit 55ace5d0d5
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.3 2007/10/31 15:57:19 pooka Exp $
# $NetBSD: Makefile.inc,v 1.4 2007/10/31 17:53:38 pooka Exp $
#
NOMAN= 1
@ -8,7 +8,8 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/sys/rump/fs/lib/libp2k -I${NETBSDSRCDIR}/sys
.ifndef RUMPFS_NOFSLIB
LDADD+= ${RUMPFSLD_P2K} ${RUMPFSLD_UKFS} ${LIBUTIL} ${LIBPUFFS}
.endif
LDADD+= -L${LIBRUMPDIR} -lrump -lpthread
LDADD+= -L${LIBRUMPDIR} -Wl,--whole-archive -lrump \
-Wl,--no-whole-archive -lpthread
RUMPKERNEL= no
INSTALL_FILE= : not today

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.20 2007/10/31 15:57:20 pooka Exp $
# $NetBSD: Makefile,v 1.21 2007/10/31 17:53:38 pooka Exp $
#
.include <bsd.own.mk>
@ -27,6 +27,10 @@ SRCS+= clock_subr.c kern_lock.c kern_stub.c param.c subr_bufq.c \
# sys/miscfs
SRCS+= genfs_vnops.c sync_subr.c
# src/kern bufq
SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \
bufq_readprio.c
# src/lib/libkern
SRCS+= __assert.c scanc.c skpc.c