diff options
author | obrien <obrien@FreeBSD.org> | 2005-09-11 00:52:05 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-09-11 00:52:05 +0000 |
commit | ec43c1e2cfeaef71fb2f6d9e364fe17bd5b1a1d1 (patch) | |
tree | ee0eafd2f2b30fd1ec579b6a2e4c6f96b358a326 /sys/conf | |
parent | 8b1d37e93e28a776cf8ee71ed7d2804fc517f408 (diff) | |
download | FreeBSD-src-ec43c1e2cfeaef71fb2f6d9e364fe17bd5b1a1d1.zip FreeBSD-src-ec43c1e2cfeaef71fb2f6d9e364fe17bd5b1a1d1.tar.gz |
Don't pollute the entire kernel build with -I$S/dev/twa.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 15 | ||||
-rw-r--r-- | sys/conf/kern.pre.mk | 3 |
2 files changed, 10 insertions, 8 deletions
diff --git a/sys/conf/files b/sys/conf/files index 59630c9..3e5ad31 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -859,11 +859,16 @@ dev/syscons/star/star_saver.c optional star_saver dev/syscons/warp/warp_saver.c optional warp_saver dev/tdfx/tdfx_pci.c optional tdfx pci dev/trm/trm.c optional trm -dev/twa/tw_cl_fwimg.c optional twa -dev/twa/tw_cl_init.c optional twa -dev/twa/tw_cl_intr.c optional twa -dev/twa/tw_cl_io.c optional twa -dev/twa/tw_cl_misc.c optional twa +dev/twa/tw_cl_fwimg.c optional twa \ + compile-with "${NORMAL_C} -I$S/dev/twa" +dev/twa/tw_cl_init.c optional twa \ + compile-with "${NORMAL_C} -I$S/dev/twa" +dev/twa/tw_cl_intr.c optional twa \ + compile-with "${NORMAL_C} -I$S/dev/twa" +dev/twa/tw_cl_io.c optional twa \ + compile-with "${NORMAL_C} -I$S/dev/twa" +dev/twa/tw_cl_misc.c optional twa \ + compile-with "${NORMAL_C} -I$S/dev/twa" dev/twa/tw_osl_cam.c optional twa dev/twa/tw_osl_freebsd.c optional twa dev/twe/twe.c optional twe diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk index a34da8a..affda42 100644 --- a/sys/conf/kern.pre.mk +++ b/sys/conf/kern.pre.mk @@ -67,9 +67,6 @@ INCLUDES+= -I$S/contrib/dev/ath -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 - CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} CFLAGS+= ${INCLUDES} -D_KERNEL -include opt_global.h .if ${CC} != "icc" |