]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scripts: kconfig: merge_config.sh: use awk in checks too
authorMikko Rapeli <mikko.rapeli@linaro.org>
Thu, 22 Jan 2026 10:57:50 +0000 (12:57 +0200)
committerNathan Chancellor <nathan@kernel.org>
Thu, 22 Jan 2026 22:58:27 +0000 (15:58 -0700)
commitdfc97e1c5da5ba56356cd403b97546c86d43ca9a
tree0a63ec7956c9b5bc5cca8e2c3c3818611966e656
parent5fa9b82cbcfc524a2dad581ac2af136536d4e8e5
scripts: kconfig: merge_config.sh: use awk in checks too

Converting from shell/sed/grep loop to awk improves runtime
checks of Yocto genericarm64 kernel config from 20 seconds
to under 1 second. The checks catch this kind of issues:

WARNING: CONFIG_BLK_DEV_DM differs:
Requested value: CONFIG_BLK_DEV_DM=y
Actual value:    CONFIG_BLK_DEV_DM=m
WARNING: CONFIG_SECURITY_NETWORK differs:
Requested value: CONFIG_SECURITY_NETWORK=n
Actual value:    CONFIG_SECURITY_NETWORK=y
WARNING: Value requested for CONFIG_ARM64_BTI_KERNEL not in final .config
Requested value: CONFIG_ARM64_BTI_KERNEL=y
Actual value:

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Link: https://patch.msgid.link/20260122105751.2186609-2-mikko.rapeli@linaro.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
scripts/kconfig/merge_config.sh