aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/modules/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 911aebe88269..f01354e5e315 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -493,7 +493,6 @@ SUBDIR+= iscsi_initiator
.if !empty(OPT_FDT)
SUBDIR+= fdt
-_sdhci_fdt= sdhci_fdt
.endif
# Linuxulator
@@ -620,6 +619,10 @@ _em= em
_rockchip= rockchip
.endif
+.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
+_sdhci_fdt= sdhci_fdt
+.endif
+
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
_agp= agp
_an= an