svn commit: r331868 - in head/sys/modules: i2c/iicbus i2c/isl spi/at45d spi/mx25l spi/spibus

Ian Lepore ian at FreeBSD.org
Sun Apr 1 18:22:25 UTC 2018


Author: ian
Date: Sun Apr  1 18:22:24 2018
New Revision: 331868
URL: https://svnweb.freebsd.org/changeset/base/331868

Log:
  Add opt_platform.h for several modules that have #ifdef FDT in the source.
  
  Submitted by:	Andre Albsmeier <Andre.Albsmeier at siemens.com>

Modified:
  head/sys/modules/i2c/iicbus/Makefile
  head/sys/modules/i2c/isl/Makefile
  head/sys/modules/spi/at45d/Makefile
  head/sys/modules/spi/mx25l/Makefile
  head/sys/modules/spi/spibus/Makefile

Modified: head/sys/modules/i2c/iicbus/Makefile
==============================================================================
--- head/sys/modules/i2c/iicbus/Makefile	Sun Apr  1 16:43:30 2018	(r331867)
+++ head/sys/modules/i2c/iicbus/Makefile	Sun Apr  1 18:22:24 2018	(r331868)
@@ -13,6 +13,7 @@ SRCS=	\
 	iicbus_if.h \
 	iiconf.c \
 	iiconf.h \
+	opt_platform.h \
 
 .if !empty(OPT_FDT)
 SRCS+=	ofw_iicbus.c ofw_bus_if.h

Modified: head/sys/modules/i2c/isl/Makefile
==============================================================================
--- head/sys/modules/i2c/isl/Makefile	Sun Apr  1 16:43:30 2018	(r331867)
+++ head/sys/modules/i2c/isl/Makefile	Sun Apr  1 18:22:24 2018	(r331868)
@@ -2,6 +2,6 @@
 
 .PATH:		${SRCTOP}/sys/dev/isl
 KMOD		= isl
-SRCS		= isl.c device_if.h bus_if.h iicbus_if.h
+SRCS		= isl.c device_if.h bus_if.h iicbus_if.h opt_platform.h
 
 .include <bsd.kmod.mk>

Modified: head/sys/modules/spi/at45d/Makefile
==============================================================================
--- head/sys/modules/spi/at45d/Makefile	Sun Apr  1 16:43:30 2018	(r331867)
+++ head/sys/modules/spi/at45d/Makefile	Sun Apr  1 18:22:24 2018	(r331868)
@@ -9,6 +9,7 @@ SRCS=	at45d.c
 SRCS+=	\
 	bus_if.h \
 	device_if.h \
+	opt_platform.h \
 	spibus_if.h \
 
 .if !empty(OPT_FDT)

Modified: head/sys/modules/spi/mx25l/Makefile
==============================================================================
--- head/sys/modules/spi/mx25l/Makefile	Sun Apr  1 16:43:30 2018	(r331867)
+++ head/sys/modules/spi/mx25l/Makefile	Sun Apr  1 18:22:24 2018	(r331868)
@@ -9,6 +9,7 @@ SRCS=	mx25l.c
 SRCS+=	\
 	bus_if.h \
 	device_if.h \
+	opt_platform.h \
 	spibus_if.h \
 
 .if !empty(OPT_FDT)

Modified: head/sys/modules/spi/spibus/Makefile
==============================================================================
--- head/sys/modules/spi/spibus/Makefile	Sun Apr  1 16:43:30 2018	(r331867)
+++ head/sys/modules/spi/spibus/Makefile	Sun Apr  1 18:22:24 2018	(r331868)
@@ -13,6 +13,7 @@ SRCS+=	ofw_spibus.c ofw_bus_if.h
 SRCS+=	\
 	bus_if.h \
 	device_if.h \
+	opt_platform.h \
 	spibus_if.c \
 	spibus_if.h \
 


More information about the svn-src-head mailing list