Skip to content
Commit f757f601 authored by Seyediman Seyedarab's avatar Seyediman Seyedarab Committed by Masahiro Yamada
Browse files

kbuild: fix argument parsing in scripts/config



The script previously assumed --file was always the first argument,
which caused issues when it appeared later. This patch updates the
parsing logic to scan all arguments to find --file, sets the config
file correctly, and resets the argument list with the remaining
commands.

It also fixes --refresh to respect --file by passing KCONFIG_CONFIG=$FN
to make oldconfig.

Signed-off-by: default avatarSeyediman Seyedarab <imandevel@gmail.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 82c09de2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment