summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-01 17:22:58 +0200
committerTom Rini <trini@ti.com>2014-10-10 09:44:45 -0400
commit16c429c9ea91b9ccbd567ee45b7b7e4bc0778640 (patch)
tree8025ad4bbacc7f7449196b42a46fd614479ea6be /scripts
parentfbad4641fb194f9a864d7f666f02851770184933 (diff)
downloadu-boot-imx-16c429c9ea91b9ccbd567ee45b7b7e4bc0778640.zip
u-boot-imx-16c429c9ea91b9ccbd567ee45b7b7e4bc0778640.tar.gz
u-boot-imx-16c429c9ea91b9ccbd567ee45b7b7e4bc0778640.tar.bz2
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')
-rw-r--r--scripts/multiconfig.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index b5185a8..3dadd71 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 () {