summaryrefslogtreecommitdiffstats
path: root/scripts/remove-stale-files
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-12-11 03:54:48 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2022-12-13 14:29:10 +0100
commit3122c84409d578a5df8bcb1953547e0b871ac4c2 (patch)
tree1909485b0ac97f85bf942af4d1a9f41e20c81023 /scripts/remove-stale-files
parentkbuild: add read-file macro (diff)
downloadlinux-3122c84409d578a5df8bcb1953547e0b871ac4c2.tar.xz
linux-3122c84409d578a5df8bcb1953547e0b871ac4c2.zip
kconfig: refactor Makefile to reduce process forks
Refactor Makefile and use read-file macro. For Make >= 4.2, it can read out a file by using the built-in function. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'scripts/remove-stale-files')
-rwxr-xr-xscripts/remove-stale-files2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files
index ccadfa3afb2b..64b14aa5aebf 100755
--- a/scripts/remove-stale-files
+++ b/scripts/remove-stale-files
@@ -47,3 +47,5 @@ rm -f arch/riscv/purgatory/kexec-purgatory.c
rm -f scripts/extract-cert
rm -f arch/x86/purgatory/kexec-purgatory.c
+
+rm -f scripts/kconfig/[gmnq]conf-cfg