summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-11-21 07:21:45 +0000
committerimp <imp@FreeBSD.org>2002-11-21 07:21:45 +0000
commit9048257e119dbf73157edadd77bc93ae7fbf6dce (patch)
treef041f1d8ca9e71c13edc4e409b4c683bf8f06365 /sys
parent1cba963dd723191a4694f21be9b19fe3bcbeef14 (diff)
downloadFreeBSD-src-9048257e119dbf73157edadd77bc93ae7fbf6dce.zip
FreeBSD-src-9048257e119dbf73157edadd77bc93ae7fbf6dce.tar.gz
Fix make buildkernel.
These makefiles work when building in the sys/modules directory, but not with the objdir stuff that buildkernel uses. This is because they used -I../../../blah rather than -I${.CURDIR}/../../../blah. # I didn't fix the abuse of CFLAGS to specify -g since I wanted the # barest minimal change since we're in a code freeze. Approved by: make buildkernel... Hat for armchair anarchists: core member fixing src tree damage
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/netgraph/bluetooth/bluetooth/Makefile2
-rw-r--r--sys/modules/netgraph/bluetooth/bt3c/Makefile4
-rw-r--r--sys/modules/netgraph/bluetooth/h4/Makefile4
-rw-r--r--sys/modules/netgraph/bluetooth/hci/Makefile4
-rw-r--r--sys/modules/netgraph/bluetooth/l2cap/Makefile4
-rw-r--r--sys/modules/netgraph/bluetooth/socket/Makefile2
-rw-r--r--sys/modules/netgraph/bluetooth/ubt/Makefile4
7 files changed, 12 insertions, 12 deletions
diff --git a/sys/modules/netgraph/bluetooth/bluetooth/Makefile b/sys/modules/netgraph/bluetooth/bluetooth/Makefile
index d4aa60f..005d619 100644
--- a/sys/modules/netgraph/bluetooth/bluetooth/Makefile
+++ b/sys/modules/netgraph/bluetooth/bluetooth/Makefile
@@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/common
-CFLAGS+= -I../../../../netgraph/bluetooth/include
+CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include
KMOD= ng_bluetooth
SRCS= ng_bluetooth.c
diff --git a/sys/modules/netgraph/bluetooth/bt3c/Makefile b/sys/modules/netgraph/bluetooth/bt3c/Makefile
index 31f5784..729d22c 100644
--- a/sys/modules/netgraph/bluetooth/bt3c/Makefile
+++ b/sys/modules/netgraph/bluetooth/bt3c/Makefile
@@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c
-CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
- -I../../../../netgraph/bluetooth/drivers/bt3c \
+CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
+ -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1
diff --git a/sys/modules/netgraph/bluetooth/h4/Makefile b/sys/modules/netgraph/bluetooth/h4/Makefile
index 7af1768..9ef247e 100644
--- a/sys/modules/netgraph/bluetooth/h4/Makefile
+++ b/sys/modules/netgraph/bluetooth/h4/Makefile
@@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4
-CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
- -I../../../../netgraph/bluetooth/drivers/h4 \
+CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
+ -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4 \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1
# -DWITNESS=1 -DWITNESS_SKIPSPIN=1
diff --git a/sys/modules/netgraph/bluetooth/hci/Makefile b/sys/modules/netgraph/bluetooth/hci/Makefile
index 92ffcc5..480fb16 100644
--- a/sys/modules/netgraph/bluetooth/hci/Makefile
+++ b/sys/modules/netgraph/bluetooth/hci/Makefile
@@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/hci
-CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
- -I../../../../netgraph/bluetooth/hci \
+CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
+ -I${.CURDIR}/../../../../netgraph/bluetooth/hci \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1
diff --git a/sys/modules/netgraph/bluetooth/l2cap/Makefile b/sys/modules/netgraph/bluetooth/l2cap/Makefile
index cd90fd3..d6df40b 100644
--- a/sys/modules/netgraph/bluetooth/l2cap/Makefile
+++ b/sys/modules/netgraph/bluetooth/l2cap/Makefile
@@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/l2cap
-CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
- -I../../../../netgraph/bluetooth/l2cap \
+CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
+ -I${.CURDIR}/../../../../netgraph/bluetooth/l2cap \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1
diff --git a/sys/modules/netgraph/bluetooth/socket/Makefile b/sys/modules/netgraph/bluetooth/socket/Makefile
index b9969a5..9191841f 100644
--- a/sys/modules/netgraph/bluetooth/socket/Makefile
+++ b/sys/modules/netgraph/bluetooth/socket/Makefile
@@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/socket
-CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
+CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1
diff --git a/sys/modules/netgraph/bluetooth/ubt/Makefile b/sys/modules/netgraph/bluetooth/ubt/Makefile
index 1e07218..6fdda0a 100644
--- a/sys/modules/netgraph/bluetooth/ubt/Makefile
+++ b/sys/modules/netgraph/bluetooth/ubt/Makefile
@@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt
-CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
- -I../../../../netgraph/bluetooth/drivers/ubt \
+CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
+ -I${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1
OpenPOWER on IntegriCloud