Allow building if_ffec as a module.

This commit is contained in:
Ian Lepore 2017-06-10 23:45:26 +00:00
parent ab3ad5bc81
commit f5c49e5c89
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=319813
2 changed files with 14 additions and 0 deletions

View File

@ -128,6 +128,7 @@ SUBDIR= \
fdc \
fdescfs \
${_fe} \
${_ffec} \
filemon \
firewire \
firmware \
@ -764,6 +765,7 @@ _cfi= cfi
_cpufreq= cpufreq
_drm= drm
_exca= exca
_ffec= ffec
_pccard= pccard
_wi= wi
.endif
@ -792,6 +794,10 @@ _cloudabi64= cloudabi64
.endif
.if ${MACHINE_ARCH} == "armv6"
_ffec= ffec
.endif
SUBDIR+=${MODULES_EXTRA}
.for reject in ${WITHOUT_MODULES}

View File

@ -0,0 +1,8 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/dev/ffec
KMOD= if_ffec
SRCS= if_ffec.c miibus_if.h device_if.h bus_if.h pci_if.h
.include <bsd.kmod.mk>