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" && \ _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"