summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/boot/dts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/boot/dts/Makefile')
-rw-r--r--arch/loongarch/boot/dts/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/loongarch/boot/dts/Makefile b/arch/loongarch/boot/dts/Makefile
new file mode 100644
index 0000000000..5f1f55e911
--- /dev/null
+++ b/arch/loongarch/boot/dts/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+dtstree := $(srctree)/$(src)
+
+dtb-y := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))