Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 01:49:19 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329546 - in head/sys/modules/spi: . at45d mx25l
Message-ID:  <201802190149.w1J1nJEg025343@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802190149.w1J1nJEg025343>