Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2019 02:31:43 +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: r344681 - head/sys/modules
Message-ID:  <201903010231.x212Vhto066189@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Mar  1 02:31:43 2019
New Revision: 344681
URL: https://svnweb.freebsd.org/changeset/base/344681

Log:
  Build fdt support modules on systems that use fdt data.
  
  kern.opts.mk sets make var OPT_FDT to a non-empty value if platform.h
  contains OPT_FDT.

Modified:
  head/sys/modules/Makefile

Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile	Fri Mar  1 02:16:37 2019	(r344680)
+++ head/sys/modules/Makefile	Fri Mar  1 02:31:43 2019	(r344681)
@@ -474,6 +474,10 @@ SUBDIR+=	iscsi
 SUBDIR+=	iscsi_initiator
 .endif
 
+.if !empty(OPT_FDT)
+SUBDIR+=	fdt
+.endif
+
 .if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
     ${MACHINE_CPUARCH} == "i386"
 SUBDIR+=	linprocfs
@@ -538,7 +542,7 @@ SUBDIR+=	zfs
 
 .if (${MACHINE_CPUARCH} == "mips" && ${MACHINE_ARCH:Mmips64} == "")
 _hwpmc_mips24k=	hwpmc_mips24k
-_hwpmc_mips74k=	hwpmc_mips74k
+_hwpmc_mips74k=	hwpmc_mips74kwheel
 .endif
 
 .if ${MACHINE_CPUARCH} != "aarch64" && ${MACHINE_CPUARCH} != "arm" && \



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