android_kernel_motorola_sm6375/scripts/kconfig
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Gomez 94a78c618e kconfig: merge_config: use an empty file as initfile
[ Upstream commit a26fe287eed112b4e21e854f173c8918a6a8596d ]

The scripts/kconfig/merge_config.sh script requires an existing
$INITFILE (or the $1 argument) as a base file for merging Kconfig
fragments. However, an empty $INITFILE can serve as an initial starting
point, later referenced by the KCONFIG_ALLCONFIG Makefile variable
if -m is not used. This variable can point to any configuration file
containing preset config symbols (the merged output) as stated in
Documentation/kbuild/kconfig.rst. When -m is used $INITFILE will
contain just the merge output requiring the user to run make (i.e.
KCONFIG_ALLCONFIG=<$INITFILE> make <allnoconfig/alldefconfig> or make
olddefconfig).

Instead of failing when `$INITFILE` is missing, create an empty file and
use it as the starting point for merges.

Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:32:30 +02:00
..
lxdialog
tests
.gitignore
conf.c
confdata.c
expr.c kconfig: remove wrong expr_trans_bool() 2024-07-27 10:38:29 +02:00
expr.h kconfig: remove wrong expr_trans_bool() 2024-07-27 10:38:29 +02:00
gconf-cfg.sh
gconf.c kconfig: gconf: give a proper initial state to the Save button 2024-07-27 10:38:29 +02:00
gconf.glade
images.c
images.h
lexer.l kconfig: fix infinite loop when expanding a macro at the end of file 2024-03-26 18:22:24 -04:00
list.h
lkc.h
lkc_proto.h
Makefile
mconf-cfg.sh
mconf.c
menu.c kconfig: remove wrong expr_trans_bool() 2024-07-27 10:38:29 +02:00
merge_config.sh kconfig: merge_config: use an empty file as initfile 2025-06-04 14:32:30 +02:00
nconf-cfg.sh
nconf.c
nconf.gui.c
nconf.h
parser.y
preprocess.c kconfig: fix possible buffer overflow 2023-09-23 10:59:57 +02:00
qconf-cfg.sh
qconf.cc
qconf.h
streamline_config.pl
symbol.c kconfig: fix comparison to constant symbols, 'm', 'n' 2024-06-16 13:28:47 +02:00
util.c