summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-02 03:51:25 +0100
committerRob Herring <robh@kernel.org>2017-11-08 18:20:24 +0100
commit74ce1896c6c65b2f8cccbf59162d542988835835 (patch)
treeafe7c7860a9d17d66d9590df4bddcfcd105e8185 /arch/sh
parent.gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore (diff)
downloadlinux-74ce1896c6c65b2f8cccbf59162d542988835835.tar.xz
linux-74ce1896c6c65b2f8cccbf59162d542988835835.zip
kbuild: clean up *.dtb and *.dtb.S patterns from top-level Makefile
We need to add "clean-files" in Makfiles to clean up DT blobs, but we often miss to do so. Since there are no source files that end with .dtb or .dtb.S, so we can clean-up those files from the top-level Makefile. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/boot/dts/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/boot/dts/Makefile b/arch/sh/boot/dts/Makefile
index e5ce3a0de7f4..715def00a436 100644
--- a/arch/sh/boot/dts/Makefile
+++ b/arch/sh/boot/dts/Makefile
@@ -1,3 +1 @@
obj-$(CONFIG_USE_BUILTIN_DTB) += $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_SOURCE)).dtb.o
-
-clean-files := *.dtb.S