summaryrefslogtreecommitdiff
path: root/dts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Makefile')
-rw-r--r--dts/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/dts/Makefile b/dts/Makefile
index bec6c49da2c..befc6de1805 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -11,11 +11,15 @@ DEVICE_TREE := unset
endif
ifeq ($(CONFIG_OF_UPSTREAM),y)
+ifeq ($(CONFIG_CPU_V8M),y)
+dt_dir := dts/upstream/src/arm64
+else
ifeq ($(CONFIG_ARM64),y)
dt_dir := dts/upstream/src/arm64
else
dt_dir := dts/upstream/src/$(ARCH)
endif
+endif
else
dt_dir := arch/$(ARCH)/dts
endif