diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2024-08-05 11:22:34 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-08-06 14:02:12 +0900 |
commit | 33330bcf031818e60a816db0cfd3add9eecc3b28 (patch) | |
tree | d4ea2cb150fa087b155e894dc4375d71e52d4d9a /samples/fprobe | |
parent | 6fc9aacad49e3fbecd270c266850d50c453d52ef (diff) | |
download | lwn-33330bcf031818e60a816db0cfd3add9eecc3b28.tar.gz lwn-33330bcf031818e60a816db0cfd3add9eecc3b28.zip |
scripts: kconfig: merge_config: config files: add a trailing newline
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>
Diffstat (limited to 'samples/fprobe')
0 files changed, 0 insertions, 0 deletions