diff options
author | ngie <ngie@FreeBSD.org> | 2017-05-30 04:11:12 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-05-30 04:11:12 +0000 |
commit | 96dc1cf1ed7b32083e3c2518b615049a51e28805 (patch) | |
tree | cc073c28e12eab20ba91fc4b06400c1131b8d67d /sys/modules/hyperv/netvsc/Makefile | |
parent | 61642a6713ab173381f65410feaddc6c99f97b54 (diff) | |
download | FreeBSD-src-96dc1cf1ed7b32083e3c2518b615049a51e28805.zip FreeBSD-src-96dc1cf1ed7b32083e3c2518b615049a51e28805.tar.gz |
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.
Diffstat (limited to 'sys/modules/hyperv/netvsc/Makefile')
-rw-r--r-- | sys/modules/hyperv/netvsc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/hyperv/netvsc/Makefile b/sys/modules/hyperv/netvsc/Makefile index e2a2533..dd28d13 100644 --- a/sys/modules/hyperv/netvsc/Makefile +++ b/sys/modules/hyperv/netvsc/Makefile @@ -1,13 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/hyperv/netvsc \ - ${.CURDIR}/../../../dev/hyperv/vmbus +.PATH: ${SRCTOP}/sys/dev/hyperv/netvsc \ + ${SRCTOP}/sys/dev/hyperv/vmbus KMOD= hv_netvsc SRCS= hn_nvs.c hn_rndis.c if_hn.c SRCS+= bus_if.h device_if.h vmbus_if.h SRCS+= opt_hn.h opt_inet.h opt_inet6.h opt_rss.h -CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/netvsc +CFLAGS+= -I${SRCTOP}/sys/dev/hyperv/netvsc .include <bsd.kmod.mk> |