summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2007-05-28 22:57:27 +0000
committerkmacy <kmacy@FreeBSD.org>2007-05-28 22:57:27 +0000
commit679d42f237374c91d66ede421e63e1579c98404a (patch)
tree22efa55439af192b9a098eff9426d5f1a92c7f2e /sys/modules
parent8fbe911ae9bad94ad139c5ff6eba805ad2e22fe4 (diff)
downloadFreeBSD-src-679d42f237374c91d66ede421e63e1579c98404a.zip
FreeBSD-src-679d42f237374c91d66ede421e63e1579c98404a.tar.gz
When building cxgb as a module make include paths relative to the driver's root.
This will make it possible to build the module out of tree against an older src tree. MFC after: 3 days
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/cxgb/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/cxgb/Makefile b/sys/modules/cxgb/Makefile
index fa72d2a..5df8112 100644
--- a/sys/modules/cxgb/Makefile
+++ b/sys/modules/cxgb/Makefile
@@ -10,7 +10,7 @@ SRCS+= cxgb_offload.c cxgb_l2t.c
SRCS+= device_if.h bus_if.h pci_if.h opt_zero.h
SRCS+= uipc_mvec.c
-CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED
+CFLAGS+= -DCONFIG_CHELSIO_T3_CORE -g -DDEFAULT_JUMBO -DCONFIG_DEFINED -I${CXGB}
#CFLAGS+= -DINVARIANT_SUPPORT -DINVARIANTS -DDEBUG
.if ${MACHINE_ARCH} != "ia64"
OpenPOWER on IntegriCloud