diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-02 05:51:25 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-11-08 20:20:24 +0300 |
commit | 74ce1896c6c65b2f8cccbf59162d542988835835 (patch) | |
tree | afe7c7860a9d17d66d9590df4bddcfcd105e8185 /Makefile | |
parent | 10b62a2f785ab55857380f0c63d9fa468fd8c676 (diff) | |
download | linux-74ce1896c6c65b2f8cccbf59162d542988835835.tar.xz |
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 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1544,7 +1544,7 @@ clean: $(clean-dirs) $(call cmd,rmfiles) @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \ \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ - -o -name '*.ko.*' \ + -o -name '*.ko.*' -o -name '*.dtb' -o -name '*.dtb.S' \ -o -name '*.dwo' \ -o -name '*.su' \ -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ |