mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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.
This commit is contained in:
parent
f476f0add8
commit
238eb01b5c
1 changed files with 5 additions and 1 deletions
|
|
@ -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" && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue