Don't pollute the entire kernel build with -I$S/dev/twa.

This commit is contained in:
David E. O'Brien 2005-09-11 00:52:05 +00:00
parent 4784fd9ce2
commit ede2033b1f
7 changed files with 22 additions and 20 deletions

View File

@ -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

View File

@ -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"

View File

@ -39,7 +39,7 @@
*/
#include "tw_osl_includes.h"
#include <dev/twa/tw_osl_includes.h>
#include <cam/cam.h>
#include <cam/cam_ccb.h>

View File

@ -42,10 +42,10 @@
*/
#include "tw_osl_includes.h"
#include "tw_cl_fwif.h"
#include "tw_cl_ioctl.h"
#include "tw_osl_ioctl.h"
#include <dev/twa/tw_osl_includes.h>
#include <dev/twa/tw_cl_fwif.h>
#include <dev/twa/tw_cl_ioctl.h>
#include <dev/twa/tw_osl_ioctl.h>
#ifdef TW_OSL_DEBUG
TW_INT32 TW_DEBUG_LEVEL_FOR_OSL = TW_OSL_DEBUG;

View File

@ -70,10 +70,10 @@
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
#include "tw_osl_share.h"
#include "tw_cl_share.h"
#include "tw_osl.h"
#include "tw_osl_externs.h"
#include <dev/twa/tw_osl_share.h>
#include <dev/twa/tw_cl_share.h>
#include <dev/twa/tw_osl.h>
#include <dev/twa/tw_osl_externs.h>

View File

@ -46,8 +46,8 @@
#include "tw_cl_fwif.h"
#include "tw_cl_ioctl.h"
#include <dev/twa/tw_cl_fwif.h>
#include <dev/twa/tw_cl_ioctl.h>

View File

@ -53,7 +53,7 @@
#include <machine/endian.h>
#include <machine/stdarg.h>
#include "tw_osl_types.h"
#include <dev/twa/tw_osl_types.h>
#include "opt_twa.h"