svn commit: r332198 - head/sys/modules/spigen

Ian Lepore ian at FreeBSD.org
Sat Apr 7 19:10:00 UTC 2018


Author: ian
Date: Sat Apr  7 19:09:57 2018
New Revision: 332198
URL: https://svnweb.freebsd.org/changeset/base/332198

Log:
  Arrange the list of generated sources as 1-per-line alphbetical, and add
  the files required when building for FDT-based systems.

Modified:
  head/sys/modules/spigen/Makefile

Modified: head/sys/modules/spigen/Makefile
==============================================================================
--- head/sys/modules/spigen/Makefile	Sat Apr  7 19:09:51 2018	(r332197)
+++ head/sys/modules/spigen/Makefile	Sat Apr  7 19:09:57 2018	(r332198)
@@ -3,6 +3,16 @@
 .PATH:	${SRCTOP}/sys/dev/spibus
 KMOD=	spigen
 SRCS=	spigen.c
-SRCS+=	device_if.h bus_if.h opt_platform.h spibus_if.h
+
+# Generated files...
+SRCS+=	\
+	bus_if.h \
+	device_if.h \
+	opt_platform.h \
+	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