summaryrefslogtreecommitdiff
path: root/MAKEALL
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-03-05 11:15:01 +0000
committerTom Rini <trini@ti.com>2013-03-27 15:29:32 -0400
commitf32c08da82eed03d2d1a00f141f531db58330f93 (patch)
treeb39e619add732515500846abe34f40af9474f300 /MAKEALL
parent8b906a9f0b3fd0d4421e08c4fa62f61a01289611 (diff)
downloadu-boot-imx-f32c08da82eed03d2d1a00f141f531db58330f93.zip
u-boot-imx-f32c08da82eed03d2d1a00f141f531db58330f93.tar.gz
u-boot-imx-f32c08da82eed03d2d1a00f141f531db58330f93.tar.bz2
MAKEALL: allow regex matches for -s option
This allows: MAKEALL -s tegra to replace: MAKEALL -s tegra20 -s tegra30 -s tegra114 The following also works: MAKEALL -s tegra -s omap Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'MAKEALL')
-rwxr-xr-xMAKEALL4
1 files changed, 2 insertions, 2 deletions
diff --git a/MAKEALL b/MAKEALL
index c1d8957..91fa495 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -104,9 +104,9 @@ while true ; do
-s|--soc)
# echo "Option SoC: argument \`$2'"
if [ "$opt_s" ] ; then
- opt_s="${opt_s%)} || \$6 == \"$2\")"
+ opt_s="${opt_s%)} || \$6 == \"$2\" || \$6 ~ /$2/)"
else
- opt_s="(\$6 == \"$2\")"
+ opt_s="(\$6 == \"$2\" || \$6 ~ /$2/)"
fi
SELECTED='y'
shift 2 ;;