aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-25 10:31:27 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-29 23:54:29 +0900
commit1634f2bfdb846ed0a8b73131a9dff7c420fb3fe1 (patch)
treee11cf667281d9d4cb4d1f0f115a3ccef077781ed /scripts/kconfig/Makefile
parentkbuild: check clean srctree even earlier (diff)
downloadlinux-dev-1634f2bfdb846ed0a8b73131a9dff7c420fb3fe1.tar.xz
linux-dev-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 'scripts/kconfig/Makefile')
-rw-r--r--scripts/kconfig/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 7656e1137b6b..bed7a5a2fbe9 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -114,7 +114,7 @@ testconfig: $(obj)/conf
$(PYTHON3) -B -m pytest $(srctree)/$(src)/tests \
-o cache_dir=$(abspath $(obj)/tests/.cache) \
$(if $(findstring 1,$(KBUILD_VERBOSE)),--capture=no)
-clean-dirs += tests/.cache
+clean-files += tests/.cache
# Help text used by make help
help: