summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2005-03-12 08:02:06 +0000
committerobrien <obrien@FreeBSD.org>2005-03-12 08:02:06 +0000
commit447762bedb2ff0462d5fa3f30b9892b7413feffc (patch)
tree5814aa0cfc549d3b37e95763cd1c6bffb375dd8d /sys
parent7ae18d5321221e1bb35dc34d2d63ccd37e8430f5 (diff)
downloadFreeBSD-src-447762bedb2ff0462d5fa3f30b9892b7413feffc.zip
FreeBSD-src-447762bedb2ff0462d5fa3f30b9892b7413feffc.tar.gz
Due to a CVS misfire, I ended up committing the wrong version of this.
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/nve/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/modules/nve/Makefile b/sys/modules/nve/Makefile
index 5a055fc..33d5c2d 100644
--- a/sys/modules/nve/Makefile
+++ b/sys/modules/nve/Makefile
@@ -4,12 +4,16 @@
KMOD= if_nve
SRCS= if_nve.c if_nvereg.h miidevs.h \
- device_if.h bus_if.h pci_if.h miibus_if.h
+ device_if.h bus_if.h pci_if.h miibus_if.h \
+ os+%DIKED-nve.h
OBJS+= nvenetlib.o
-CLEANFILES+= nvenetlib.o
+CLEANFILES+= nvenetlib.o os+%DIKED-nve.h
nvenetlib.o: ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
uudecode < ${.CURDIR}/../../contrib/dev/nve/${MACHINE}/${.TARGET}.bz2.uu
- bzip2 -d ${.TARGET}.bz2
+ bzip2 -df ${.TARGET}.bz2
+
+os+%DIKED-nve.h: ${.CURDIR}/../../contrib/dev/nve/os.h
+ sed -e 's/^.*#include.*phy\.h.*$$//' ${.OODATE} > ${.TARGET}
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud