summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2007-05-04 07:21:01 +0000
committerjfv <jfv@FreeBSD.org>2007-05-04 07:21:01 +0000
commitfaed9880adbebeea08c68c64f8edd85728de03ec (patch)
tree6e3fd3e48fb088f49db0d681f3583dca5b3d1be4 /sys/modules
parent952e11b4964861eff24f40d459272df7e434a950 (diff)
downloadFreeBSD-src-faed9880adbebeea08c68c64f8edd85728de03ec.zip
FreeBSD-src-faed9880adbebeea08c68c64f8edd85728de03ec.tar.gz
Absolute pathname in the Makefile was broken, this
version should work correctly.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/em/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile
index 4235df8..dabcbfe 100644
--- a/sys/modules/em/Makefile
+++ b/sys/modules/em/Makefile
@@ -7,9 +7,7 @@ SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c
SHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c
SHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c
-# NOTE: this absolute path is somewhat of a hack, but necessary for
-# the new shared code
-CFLAGS += -I/usr/src/sys/dev/em
+CFLAGS+= -I${.CURDIR}/../../dev/em
# DEVICE_POLLING gives you Legacy interrupt handling
#CFLAGS += -DDEVICE_POLLING
OpenPOWER on IntegriCloud