From: Jeroen Hofstee Date: Wed, 1 Oct 2014 15:22:58 +0000 (+0200) Subject: multiconfig.sh: replace GNU sed specific match X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=16c429c9ea91b9ccbd567ee45b7b7e4bc0778640;p=u-boot.git 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 Signed-off-by: Jeroen Hofstee Acked-by: Masahiro Yamada --- diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index b5185a84cf..3dadd714e2 100644 --- a/scripts/multiconfig.sh +++ b/scripts/multiconfig.sh @@ -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 () {