aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/gpio/gpioiic
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-04 10:10:17 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-04 10:10:17 +0000
commit193d9e768ba63fcfb187cfd17f461f7d41345048 (patch)
tree0bd611a14f41427d2dd6120d82a36544617899be /sys/modules/gpio/gpioiic
parentabe427af75e9478f8ab875b40333d594d1fb46ac (diff)
downloadsrc-193d9e768ba63fcfb187cfd17f461f7d41345048.tar.gz
src-193d9e768ba63fcfb187cfd17f461f7d41345048.zip
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=314651
Diffstat (limited to 'sys/modules/gpio/gpioiic')
-rw-r--r--sys/modules/gpio/gpioiic/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/gpio/gpioiic/Makefile b/sys/modules/gpio/gpioiic/Makefile
index 055f2ecba5c8..ff422f33ddaa 100644
--- a/sys/modules/gpio/gpioiic/Makefile
+++ b/sys/modules/gpio/gpioiic/Makefile
@@ -29,13 +29,13 @@
# $FreeBSD$
#
-.PATH: ${.CURDIR}/../../../dev/gpio/
+.PATH: ${SRCTOP}/sys/dev/gpio/
KMOD= gpioiic
SRCS= gpioiic.c
SRCS+= device_if.h bus_if.h gpio_if.h gpiobus_if.h iicbus_if.h iicbb_if.h
SRCS+= ofw_bus_if.h opt_platform.h
-CFLAGS+= -I. -I${.CURDIR}/../../../dev/gpio/
+CFLAGS+= -I. -I${SRCTOP}/sys/dev/gpio/
.include <bsd.kmod.mk>