Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164587939
D38905.id118320.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D38905.id118320.diff
View Options
Index: lib/lib9p/Makefile
===================================================================
--- lib/lib9p/Makefile
+++ lib/lib9p/Makefile
@@ -6,8 +6,11 @@
CFLAGS+= -I${.CURDIR}
CFLAGS+= -I${.CURDIR}/../../contrib/lib9p
+LIBADD= sbuf
+
.if ${MK_CASPER} != "no"
CFLAGS+= -DWITH_CASPER
+LIBADD+= casper cap_pwd cap_grp
.endif
LIB= 9p
@@ -28,6 +31,4 @@
INCSDIR= ${INCLUDEDIR}/lib9p
INCS= fid.h lib9p.h backend/fs.h
-LIBADD= sbuf
-
.include <bsd.lib.mk>
Index: share/mk/src.libnames.mk
===================================================================
--- share/mk/src.libnames.mk
+++ share/mk/src.libnames.mk
@@ -270,7 +270,11 @@
# Each library's LIBADD needs to be duplicated here for static linkage of
# 2nd+ order consumers. Auto-generating this would be better.
_DP_80211= sbuf bsdxml
-_DP_9p= sbuf
+_DP_9p= sbuf
+.if ${MK_CASPER} != "no"
+_DP_9p+= casper cap_pwd cap_grp
+.endif
+
# XXX: Not bootstrapped so uses host version on non-FreeBSD, so don't use a
# FreeBSD-specific dependency list
.if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING)
Index: usr.sbin/bhyve/Makefile
===================================================================
--- usr.sbin/bhyve/Makefile
+++ usr.sbin/bhyve/Makefile
@@ -89,14 +89,6 @@
LIBADD= vmmapi md nv pthread z util sbuf cam 9p
-.if ${MK_CASPER} != "no"
-LIBADD+= casper
-LIBADD+= cap_pwd
-LIBADD+= cap_grp
-# Temporary disable capsicum, until we integrate checkpoint code with it.
-#CFLAGS+=-DWITH_CASPER
-.endif
-
.if ${MK_BHYVE_SNAPSHOT} != "no"
LIBADD+= ucl xo
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 3, 5:39 AM (13 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35899178
Default Alt Text
D38905.id118320.diff (1 KB)
Attached To
Mode
D38905: bhyve: Move libcasper dependecy to lib9p
Attached
Detach File
Event Timeline
Log In to Comment