From 65c7bc2147d1a3412ba9ab095ca4a64207a6acf8 Mon Sep 17 00:00:00 2001 From: Jack F Vogel Date: Fri, 4 May 2007 07:21:01 +0000 Subject: [PATCH] Absolute pathname in the Makefile was broken, this version should work correctly. --- sys/modules/em/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile index 4235df85dbcf..dabcbfe56eda 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