Commit 16c429c9ea91b9ccbd567ee45b7b7e4bc0778640

Authored by Jeroen Hofstee
Committed by Tom Rini
1 parent fbad4641fb

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

scripts/multiconfig.sh
... ... @@ -69,8 +69,8 @@
69 69  
70 70 # CONFIG_SPL=y -> spl
71 71 # CONFIG_TPL=y -> tpl
72   - sed -n -e 's/^CONFIG_\(SPL\|TPL\)=y$/\1/p' $KCONFIG_CONFIG | \
73   - tr '[A-Z]' '[a-z]'
  72 + sed -n -e 's/^CONFIG_SPL=y$/spl/p' -e 's/^CONFIG_TPL=y$/tpl/p' \
  73 + $KCONFIG_CONFIG
74 74 }
75 75  
76 76 do_silentoldconfig () {