summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-09-11 07:33:43 +0000
committerobrien <obrien@FreeBSD.org>2005-09-11 07:33:43 +0000
commit60837e0da9e4b7a21ab199a80e804acaa3666428 (patch)
treea830daf29d15fe208b83cc5cc2c846968b905556
parent95c333b2198c09899258ffbdf950d1cbb4470e59 (diff)
downloadFreeBSD-src-60837e0da9e4b7a21ab199a80e804acaa3666428.zip
FreeBSD-src-60837e0da9e4b7a21ab199a80e804acaa3666428.tar.gz
The kernel-depend target doesn't get any information from "compile-with",
so repeat the includes paths for that target.
-rw-r--r--sys/conf/kern.pre.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 008e658..8a23769 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -61,6 +61,25 @@ INCLUDES+= -I$S/contrib/altq
INCLUDES+= -I$S/contrib/dev/ath
.endif
+.if make(depend) || make(kernel-depend)
+
+# ... and the same for ipfilter
+INCLUDES+= -I$S/contrib/ipfilter
+
+# ... and the same for pf
+INCLUDES+= -I$S/contrib/pf
+
+# ... and the same for Atheros HAL
+INCLUDES+= -I$S/contrib/dev/ath/freebsd
+
+# ... and the same for the NgATM stuff
+INCLUDES+= -I$S/contrib/ngatm
+
+# .. and the same for twa
+INCLUDES+= -I$S/dev/twa
+
+.endif
+
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG}
CFLAGS+= ${INCLUDES} -D_KERNEL -include opt_global.h
.if ${CC} != "icc"
OpenPOWER on IntegriCloud