summaryrefslogtreecommitdiffstats
path: root/Documentation
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 /Documentation
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 'Documentation')
-rw-r--r--Documentation/kbuild/makefiles.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt
index 329e740adea7..411b7282c287 100644
--- a/Documentation/kbuild/makefiles.txt
+++ b/Documentation/kbuild/makefiles.txt
@@ -1153,7 +1153,6 @@ When kbuild executes, the following steps are followed (roughly):
Example:
targets += $(dtb-y)
- clean-files += *.dtb
DTC_FLAGS ?= -p 1024
--- 6.8 Custom kbuild commands