cd46c93cc8
prefer the more common > ${.TARGET} over > opt_foo.h in modules makefiles.
14 lines
231 B
Makefile
14 lines
231 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/rp
|
|
|
|
KMOD= rp
|
|
SRCS= rp.c rp_pci.c device_if.h bus_if.h pci_if.h opt_compat.h
|
|
|
|
.if !defined(KERNBUILDDIR)
|
|
opt_compat.h:
|
|
echo "#define COMPAT_43 1" > ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|