summaryrefslogtreecommitdiffstats
path: root/arch/kvx/dts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/kvx/dts/Makefile')
-rw-r--r--arch/kvx/dts/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/kvx/dts/Makefile b/arch/kvx/dts/Makefile
new file mode 100644
index 0000000000..41613033ce
--- /dev/null
+++ b/arch/kvx/dts/Makefile
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# just to build a built-in.o. Otherwise compilation fails when no devicetree is
+# created.
+obj- += dummy.o
+
+BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
+ifneq ($(BUILTIN_DTB),)
+obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
+endif
+
+obj-$(CONFIG_BOARD_K200) += k200.dtb.o
+
+clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z