summaryrefslogtreecommitdiffstats
path: root/sys/modules/em/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules/em/Makefile')
-rw-r--r--sys/modules/em/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile
index 1de7c62..6218a1e 100644
--- a/sys/modules/em/Makefile
+++ b/sys/modules/em/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../dev/e1000
+.PATH: ${SRCTOP}/sys/dev/e1000
KMOD = if_em
SRCS = device_if.h bus_if.h pci_if.h opt_ddb.h opt_em.h opt_inet.h \
opt_inet6.h
@@ -15,7 +15,7 @@ COMMON_SHARED = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c \
PCIE_SHARED = e1000_80003es2lan.c e1000_ich8lan.c e1000_82571.c e1000_82575.c
LEGACY_SHARED = e1000_82540.c e1000_82542.c e1000_82541.c e1000_82543.c
-CFLAGS += -I${.CURDIR}/../../dev/e1000
+CFLAGS += -I${SRCTOP}/sys/dev/e1000
# DEVICE_POLLING for a non-interrupt-driven method
#CFLAGS += -DDEVICE_POLLING
OpenPOWER on IntegriCloud