multiconfig.sh: replace GNU sed specific match
A SPL/TPL enabled target would was not recognized as such by BSD sed, since it relies on a GNU extension. Instead of or-ing just spell out both matches. Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
fbad4641fb
commit
16c429c9ea
|
@ -69,8 +69,8 @@ get_enabled_subimages() {
|
|||
|
||||
# CONFIG_SPL=y -> spl
|
||||
# CONFIG_TPL=y -> tpl
|
||||
sed -n -e 's/^CONFIG_\(SPL\|TPL\)=y$/\1/p' $KCONFIG_CONFIG | \
|
||||
tr '[A-Z]' '[a-z]'
|
||||
sed -n -e 's/^CONFIG_SPL=y$/spl/p' -e 's/^CONFIG_TPL=y$/tpl/p' \
|
||||
$KCONFIG_CONFIG
|
||||
}
|
||||
|
||||
do_silentoldconfig () {
|
||||
|
|
Loading…
Reference in New Issue