Change to build module with new directory tree

MFC after:ASAP
This commit is contained in:
Jack F Vogel 2008-07-30 22:05:06 +00:00
parent 06248ffcc6
commit d7b1367463

View File

@ -1,22 +1,16 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/em
.PATH: ${.CURDIR}/../../dev/e1000
KMOD = if_em
SRCS = device_if.h bus_if.h pci_if.h
SRCS += if_em.c $(SHARED_SRCS)
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 e1000_osdep.c
SHARED_SRCS += e1000_82575.c
CFLAGS+= -DNO_82575_SUPPORT -I${.CURDIR}/../../dev/em
CFLAGS+= -I${.CURDIR}/../../dev/e1000
# Uncomment this to disable Fast interrupt handling.
# and enable legacy interrupt handling
#CFLAGS += -DEM_LEGACY_IRQ
# This option enables IEEE 1588 Precision Time Protocol
#CFLAGS += -DEM_TIMESYNC
# DEVICE_POLLING for a non-interrupt-driven method
# DEVICE_POLLING gives you Legacy interrupt handling
#CFLAGS += -DDEVICE_POLLING
clean: