diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-05 11:19:36 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-11 17:04:51 +0300 |
commit | 6bbe4385d035c6fac56f840a59861a0310ce137b (patch) | |
tree | 6a1ee008c52f402b8dc93c343aaea45c167ba7cf /scripts/package | |
parent | 02826a6ba301b72461c3706e1cc66d5571cd327e (diff) | |
download | linux-6bbe4385d035c6fac56f840a59861a0310ce137b.tar.xz |
kconfig: merge_config: avoid false positive matches from comment lines
The current SED_CONFIG_EXP could match to comment lines in config
fragment files, especially when CONFIG_PREFIX_ is empty. For example,
Buildroot uses empty prefixing; starting symbols with BR2_ is just
convention.
Make the sed expression more robust against false positives from
comment lines. The new sed expression matches to only valid patterns.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'scripts/package')
0 files changed, 0 insertions, 0 deletions