diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-12-11 03:54:48 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-12-13 14:29:10 +0100 |
commit | 3122c84409d578a5df8bcb1953547e0b871ac4c2 (patch) | |
tree | 1909485b0ac97f85bf942af4d1a9f41e20c81023 /scripts/remove-stale-files | |
parent | kbuild: add read-file macro (diff) | |
download | linux-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-x | scripts/remove-stale-files | 2 |
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 |