aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/sandbox/dts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/sandbox/dts/Makefile')
-rw-r--r--roms/u-boot/arch/sandbox/dts/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/roms/u-boot/arch/sandbox/dts/Makefile b/roms/u-boot/arch/sandbox/dts/Makefile
new file mode 100644
index 000000000..3e5dc67d5
--- /dev/null
+++ b/roms/u-boot/arch/sandbox/dts/Makefile
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0+
+
+ifdef CONFIG_SANDBOX64
+dtb-$(CONFIG_SANDBOX) += sandbox64.dtb
+else
+dtb-$(CONFIG_SANDBOX) += sandbox.dtb
+endif
+dtb-$(CONFIG_UT_DM) += test.dtb
+dtb-$(CONFIG_CMD_EXTENSION) += overlay0.dtbo overlay1.dtbo
+
+targets += $(dtb-y)
+
+DTC_FLAGS += -R 4 -p 0x1000
+
+PHONY += dtbs
+dtbs: $(addprefix $(obj)/, $(dtb-y))
+ @:
+
+clean-files := *.dtb