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
This commit is contained in:
parent
8cf5e9dde2
commit
668537ba95
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user