diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-25 10:31:27 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-29 23:54:29 +0900 |
commit | 1634f2bfdb846ed0a8b73131a9dff7c420fb3fe1 (patch) | |
tree | e11cf667281d9d4cb4d1f0f115a3ccef077781ed /usr | |
parent | 36de077b20d05321466f8eaba0ae01b9b18ad93c (diff) | |
download | linux-stable-1634f2bfdb846ed0a8b73131a9dff7c420fb3fe1.tar.gz linux-stable-1634f2bfdb846ed0a8b73131a9dff7c420fb3fe1.tar.bz2 linux-stable-1634f2bfdb846ed0a8b73131a9dff7c420fb3fe1.zip |
kbuild: remove clean-dirs syntax
The only the difference between clean-files and clean-dirs is the -r
option passed to the 'rm' command.
You can always pass -r, and then remove the clean-dirs syntax.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'usr')
-rw-r--r-- | usr/include/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/include/Makefile b/usr/include/Makefile index 1fb6abe29b2f..05c71ef42f51 100644 --- a/usr/include/Makefile +++ b/usr/include/Makefile @@ -115,6 +115,4 @@ header-test-y += $(filter-out $(header-test-), \ $(patsubst $(obj)/%,%, $(wildcard \ $(addprefix $(obj)/, *.h */*.h */*/*.h */*/*/*.h)))) -# For GNU Make <= 4.2.1, $(wildcard $(obj)/*/) matches to not only directories -# but also regular files. Use $(filter %/, ...) just in case. -clean-dirs += $(patsubst $(obj)/%/,%,$(filter %/, $(wildcard $(obj)/*/))) +clean-files += $(filter-out Makefile, $(notdir $(wildcard $(obj)/*))) |