aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2017-06-10 23:45:26 +0000
committerIan Lepore <ian@FreeBSD.org>2017-06-10 23:45:26 +0000
commitf5c49e5c898afd10ba26a47797f56d732de783fd (patch)
treecf824a440e76d2b68b2498ee2d3c7a4dbf157c9e /sys
parentab3ad5bc81efc2eeccadd440cfcbb14ae1bb0144 (diff)
downloadsrc-f5c49e5c898afd10ba26a47797f56d732de783fd.tar.gz
src-f5c49e5c898afd10ba26a47797f56d732de783fd.zip
Allow building if_ffec as a module.
Notes
Notes: svn path=/head/; revision=319813
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/Makefile6
-rw-r--r--sys/modules/ffec/Makefile8
2 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 1897bee3ca1b..21d68575da46 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -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}
diff --git a/sys/modules/ffec/Makefile b/sys/modules/ffec/Makefile
new file mode 100644
index 000000000000..cea942329a76
--- /dev/null
+++ b/sys/modules/ffec/Makefile
@@ -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>