diff options
| author | Anders Roxell <anders.roxell@linaro.org> | 2024-08-05 11:22:34 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-18 19:23:03 +0200 |
| commit | 3698570389e2c837d07500cfb9ee7190b7c3e7f7 (patch) | |
| tree | 457e4f7aa3fc6aa98e28eacde8f5d8a1d32f7bb5 /drivers | |
| parent | 45ec9f17ce46417fc4eccecf388c99e81fb7fcc1 (diff) | |
| download | linux-3698570389e2c837d07500cfb9ee7190b7c3e7f7.tar.gz linux-3698570389e2c837d07500cfb9ee7190b7c3e7f7.tar.bz2 linux-3698570389e2c837d07500cfb9ee7190b7c3e7f7.zip | |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions
