diff options
author | Warner Losh <imp@FreeBSD.org> | 2015-02-18 15:25:22 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2015-02-18 15:25:22 +0000 |
commit | 88030a5eb0a19114d1113142376c69272f063a87 (patch) | |
tree | 0d8eb14f5704166a5e5f67a39de3595b4f7ca35b /sys/modules/dpt | |
parent | 35c4406d4cd8830c070f0127aceb4ef697a6c1ea (diff) | |
download | src-test2-88030a5eb0a19114d1113142376c69272f063a87.tar.gz src-test2-88030a5eb0a19114d1113142376c69272f063a87.zip |
Notes
Diffstat (limited to 'sys/modules/dpt')
-rw-r--r-- | sys/modules/dpt/Makefile | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/modules/dpt/Makefile b/sys/modules/dpt/Makefile index 21b3b08ea397..ee588adb829f 100644 --- a/sys/modules/dpt/Makefile +++ b/sys/modules/dpt/Makefile @@ -11,24 +11,6 @@ SRCS= dpt_scsi.c dpt.h \ opt_cam.h opt_scsi.h \ device_if.h bus_if.h -.if ${MK_EISA} == "no" -# Create an empty opt_eisa.h in order to keep kmod.mk from linking in an -# existing one from KERNBUILDDIR which possibly has DEV_EISA defined so -# dpt.ko is always built without EISA support. -opt_eisa.h: - :> ${.TARGET} -.else -.if !defined(KERNBUILDDIR) -SRCS+= dpt_eisa.c eisa_if.h - -opt_eisa.h: - echo "#define DEV_EISA 1" > ${.TARGET} -.else -DEV_EISA!= sed -n '/DEV_EISA/p' ${KERNBUILDDIR}/opt_eisa.h -.if !empty(DEV_EISA) -SRCS+= dpt_eisa.c eisa_if.h -.endif -.endif -.endif +SRCS.DEV_EISA= dpt_eisa.c eisa_if.h .include <bsd.kmod.mk> |