aboutsummaryrefslogtreecommitdiff
path: root/scripts/multiconfig.sh
diff options
context:
space:
mode:
authorJeroen Hofstee2014-10-01 17:22:58 +0200
committerTom Rini2014-10-10 09:44:45 -0400
commit16c429c9ea91b9ccbd567ee45b7b7e4bc0778640 (patch)
tree8025ad4bbacc7f7449196b42a46fd614479ea6be /scripts/multiconfig.sh
parentfbad4641fb194f9a864d7f666f02851770184933 (diff)
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>
Diffstat (limited to 'scripts/multiconfig.sh')
-rw-r--r--scripts/multiconfig.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index b5185a84cf6..3dadd714e2b 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 () {