summaryrefslogtreecommitdiff
path: root/sys/conf/dtb.build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/dtb.build.mk')
-rw-r--r--sys/conf/dtb.build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/dtb.build.mk b/sys/conf/dtb.build.mk
index 1966bee19460..edaa6db225c8 100644
--- a/sys/conf/dtb.build.mk
+++ b/sys/conf/dtb.build.mk
@@ -22,7 +22,7 @@ SYSDIR= ${S}
.for _dts in ${DTS}
# DTB for aarch64 needs to preserve the immediate parent of the .dts, because
# these DTS are vendored and should be installed into their vendored directory.
-.if ${MACHINE_ARCH} == "aarch64"
+.if ${MACHINE_CPUARCH} == "aarch64"
DTB+= ${_dts:R:S/$/.dtb/}
.else
DTB+= ${_dts:T:R:S/$/.dtb/}