summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/dts/Makefile
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-03-03 13:14:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-06 07:42:21 +0100
commit6779d91fdf6aefe4eab3f8e56b1ec4aceff436c0 (patch)
tree07a44ddc345017880c7baa67be5a75bf0c9af499 /arch/sandbox/dts/Makefile
parent09d343e941e039afa19b5ead777780e1f799cab4 (diff)
downloadbarebox-6779d91fdf6aefe4eab3f8e56b1ec4aceff436c0.tar.gz
barebox-6779d91fdf6aefe4eab3f8e56b1ec4aceff436c0.tar.xz
sandbox: add sample dts
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/dts/Makefile')
-rw-r--r--arch/sandbox/dts/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sandbox/dts/Makefile b/arch/sandbox/dts/Makefile
new file mode 100644
index 0000000000..6f68388578
--- /dev/null
+++ b/arch/sandbox/dts/Makefile
@@ -0,0 +1,11 @@
+ifeq ($(CONFIG_OFTREE),y)
+dtb-y += \
+ sandbox.dtb
+endif
+
+# just to build a built-in.o. Otherwise compilation fails when no devicetree is
+# created.
+obj- += dummy.o
+
+always := $(dtb-y)
+clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts