kconfig: refactor Makefile to reduce process forks
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 11 Dec 2022 02:54:48 +0000 (11:54 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 13 Dec 2022 13:29:10 +0000 (22:29 +0900)
commit3122c84409d578a5df8bcb1953547e0b871ac4c2
tree1909485b0ac97f85bf942af4d1a9f41e20c81023
parent6768fa4bcb6c1618248f135d04b9287ba2724ae0
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>
scripts/kconfig/.gitignore
scripts/kconfig/Makefile
scripts/kconfig/gconf-cfg.sh
scripts/kconfig/mconf-cfg.sh
scripts/kconfig/nconf-cfg.sh
scripts/kconfig/qconf-cfg.sh
scripts/remove-stale-files