mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
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 <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>