git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
FBSD: Set KERNBUILDDIR for --with-bsd-kernel-build
[openafs.git]
/
src
/
libafs
/
MakefileProto.FBSD.in
diff --git
a/src/libafs/MakefileProto.FBSD.in
b/src/libafs/MakefileProto.FBSD.in
index
12f24f5
..
26e86ea
100644
(file)
--- a/
src/libafs/MakefileProto.FBSD.in
+++ b/
src/libafs/MakefileProto.FBSD.in
@@
-57,6
+57,9
@@
CWARNFLAGS+= -Wno-redundant-decls
KMODDIR=/boot/modules
KMOD= libafs
SYSDIR= ${KSRC}
+.if !empty(KBLD)
+KERNBUILDDIR=${KBLD}
+.endif
# Name of directory to hold object files and libraries.
KOBJ = MODLOAD