linux-imx/scripts/kconfig
Anders Roxell 86a1aaee7f scripts: kconfig: merge_config: config files: add a trailing newline
[ Upstream commit 33330bcf03 ]

When merging files without trailing newlines at the end of the file, two
config fragments end up at the same row if file1.config doens't have a
trailing newline at the end of the file.

file1.config "CONFIG_1=y"
file2.config "CONFIG_2=y"
./scripts/kconfig/merge_config.sh -m .config file1.config file2.config

This will generate a .config looking like this.
cat .config
...
CONFIG_1=yCONFIG_2=y"

Making sure so we add a newline at the end of every config file that is
passed into the script.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-18 19:24:05 +02:00
..
lxdialog
tests
.gitignore
conf.c
confdata.c
expr.c kconfig: remove wrong expr_trans_bool() 2024-07-25 09:50:44 +02:00
expr.h kconfig: remove wrong expr_trans_bool() 2024-07-25 09:50:44 +02:00
gconf-cfg.sh
gconf.c kconfig: gconf: give a proper initial state to the Save button 2024-07-25 09:50:44 +02:00
gconf.glade
images.c
images.h
internal.h
lexer.l
list.h
lkc_proto.h
lkc.h
Makefile
mconf-cfg.sh
mconf.c
menu.c kconfig: remove wrong expr_trans_bool() 2024-07-25 09:50:44 +02:00
merge_config.sh scripts: kconfig: merge_config: config files: add a trailing newline 2024-09-18 19:24:05 +02:00
nconf-cfg.sh
nconf.c
nconf.gui.c
nconf.h
parser.y
preprocess.c
qconf-cfg.sh
qconf.cc
qconf.h
streamline_config.pl
symbol.c
util.c