kernel_samsung_a53x/scripts/kconfig
Anders Roxell e45e7fce9f scripts: kconfig: merge_config: config files: add a trailing newline
[ Upstream commit 33330bcf031818e60a816db0cfd3add9eecc3b28 ]

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-11-23 23:21:11 +01:00
..
lxdialog Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tests Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
conf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
confdata.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
expr.c kconfig: remove wrong expr_trans_bool() 2024-11-19 14:19:47 +01:00
expr.h kconfig: remove wrong expr_trans_bool() 2024-11-19 14:19:47 +01:00
gconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gconf.c kconfig: gconf: give a proper initial state to the Save button 2024-11-19 14:19:47 +01:00
gconf.glade Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
images.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
images.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lexer.l kconfig: fix infinite loop when expanding a macro at the end of file 2024-11-19 08:44:58 +01:00
list.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lkc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lkc_proto.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mconf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
menu.c kconfig: remove wrong expr_trans_bool() 2024-11-19 14:19:47 +01:00
merge_config.sh scripts: kconfig: merge_config: config files: add a trailing newline 2024-11-23 23:21:11 +01:00
nconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nconf.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nconf.gui.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nconf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parser.y Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
preprocess.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qconf-cfg.sh Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qconf.cc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qconf.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
streamline_config.pl Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
symbol.c kconfig: fix comparison to constant symbols, 'm', 'n' 2024-11-19 12:27:10 +01:00
util.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00