From 96dc1cf1ed7b32083e3c2518b615049a51e28805 Mon Sep 17 00:00:00 2001 From: ngie Date: Tue, 30 May 2017 04:11:12 +0000 Subject: MFC r314651,r318439,r318440: r314651: sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 r318439: Normalize .PATH on SRCTOP This will help Jenkins dedupe 9 warnings between the static build and the module build of ipsec(4). Missed in SRCTOP conversion in r314651. MFC with: r314651 r318440: Normalize SYSDIR on SRCTOP instead of .CURDIR This is being done to simplify pathing for CFLAGS and source files. --- sys/modules/netgraph/bluetooth/hci/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/modules/netgraph/bluetooth/hci/Makefile') diff --git a/sys/modules/netgraph/bluetooth/hci/Makefile b/sys/modules/netgraph/bluetooth/hci/Makefile index 729ea7b..1e970c9 100644 --- a/sys/modules/netgraph/bluetooth/hci/Makefile +++ b/sys/modules/netgraph/bluetooth/hci/Makefile @@ -1,10 +1,10 @@ # $Id: Makefile,v 1.1 2002/11/24 20:40:05 max Exp $ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/hci +.PATH: ${SRCTOP}/sys/netgraph/bluetooth/hci -CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \ - -I${.CURDIR}/../../../../netgraph/bluetooth/hci +CFLAGS+= -I${SRCTOP}/sys/netgraph/bluetooth/include \ + -I${SRCTOP}/sys/netgraph/bluetooth/hci KMOD= ng_hci SRCS= ng_hci_main.c ng_hci_cmds.c ng_hci_evnt.c \ -- cgit v1.1