Skip to content
Snippets Groups Projects
Commit f32c08da authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

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: default avatarStephen Warren <swarren@nvidia.com>
parent 8b906a9f
No related branches found
No related tags found
No related merge requests found
......@@ -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 ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment