svn commit: r329546 - in head/sys/modules/spi: . at45d mx25l

Ian Lepore ian at FreeBSD.org
Mon Feb 19 01:49:20 UTC 2018


Author: ian
Date: Mon Feb 19 01:49:19 2018
New Revision: 329546
URL: https://svnweb.freebsd.org/changeset/base/329546

Log:
  Build at45d and mx25l SPI flash drivers as modules.

Added:
  head/sys/modules/spi/at45d/
  head/sys/modules/spi/at45d/Makefile   (contents, props changed)
  head/sys/modules/spi/mx25l/
  head/sys/modules/spi/mx25l/Makefile   (contents, props changed)
Modified:
  head/sys/modules/spi/Makefile

Modified: head/sys/modules/spi/Makefile
==============================================================================
--- head/sys/modules/spi/Makefile	Mon Feb 19 01:39:02 2018	(r329545)
+++ head/sys/modules/spi/Makefile	Mon Feb 19 01:49:19 2018	(r329546)
@@ -2,6 +2,8 @@
 
 SUBDIR = \
 	../spigen \
+	at45d \
+	mx25l \
 	spibus \
 	
 .include <bsd.subdir.mk>

Added: head/sys/modules/spi/at45d/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/spi/at45d/Makefile	Mon Feb 19 01:49:19 2018	(r329546)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+.PATH:	${SRCTOP}/sys/dev/flash
+
+KMOD=	at45d
+SRCS=	at45d.c
+
+# Generated files...
+SRCS+=	\
+	bus_if.h \
+	device_if.h \
+	spibus_if.c \
+	spibus_if.h \
+
+.if !empty(OPT_FDT)
+SRCS+=	ofw_bus_if.h
+.endif
+
+.include <bsd.kmod.mk>

Added: head/sys/modules/spi/mx25l/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/spi/mx25l/Makefile	Mon Feb 19 01:49:19 2018	(r329546)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+.PATH:	${SRCTOP}/sys/dev/flash
+
+KMOD=	mx25l
+SRCS=	mx25l.c
+
+# Generated files...
+SRCS+=	\
+	bus_if.h \
+	device_if.h \
+	spibus_if.c \
+	spibus_if.h \
+
+.if !empty(OPT_FDT)
+SRCS+=	ofw_bus_if.h
+.endif
+
+.include <bsd.kmod.mk>


More information about the svn-src-head mailing list