diff options
author | Seyediman Seyedarab <imandevel@gmail.com> | 2025-03-01 17:21:37 -0500 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-03-15 21:22:42 +0900 |
commit | f757f6011c92b5a01db742c39149bed9e526478f (patch) | |
tree | 23a4a970b49c6414809850626b68b112876b5f60 /scripts/bash-completion | |
parent | 82c09de2d4c472ab1b973e6e033671020691e637 (diff) | |
download | linux-stable-f757f6011c92b5a01db742c39149bed9e526478f.tar.gz linux-stable-f757f6011c92b5a01db742c39149bed9e526478f.tar.bz2 linux-stable-f757f6011c92b5a01db742c39149bed9e526478f.zip |
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: Seyediman Seyedarab <imandevel@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/bash-completion')
0 files changed, 0 insertions, 0 deletions