summaryrefslogtreecommitdiff
path: root/arch/sh/boot/dts/Makefile
diff options
context:
space:
mode:
authorRich Felker <dalias@libc.org>2016-03-26 01:24:30 +0000
committerRich Felker <dalias@libc.org>2016-04-11 22:55:36 +0000
commit4547617a23f8c6e59951613b856bf52719b039dc (patch)
tree39f6381f5e8850a47dcad9eced30b3421268fbef /arch/sh/boot/dts/Makefile
parente0a2e1449d69daa8f3f16213fe7af12bc5ffc89d (diff)
downloadlinux-sh-4547617a23f8c6e59951613b856bf52719b039dc.tar.gz
sh: add support for linking a builtin device tree blob in the kernel
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/boot/dts/Makefile')
-rw-r--r--arch/sh/boot/dts/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile
new file mode 100644
index 000000000000..e5ce3a0de7f4
--- /dev/null
+++ b/arch/sh/boot/dts/Makefile
@@ -0,0 +1,3 @@
+obj-$(CONFIG_USE_BUILTIN_DTB) += $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_SOURCE)).dtb.o
+
+clean-files := *.dtb.S