Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 19:09:57 +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: r332198 - head/sys/modules/spigen
Message-ID:  <201804071909.w37J9v1r046698@repo.freebsd.org>

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



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