Commit 32dd97e9 authored by Alessandro Rubini's avatar Alessandro Rubini

MAKEALL: accept command line arguments

This allows stuff like

  ./MAKEALL spec_legacy_defconfig spec_sdb_defconfig

to choose your relevant configuration files alone.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent a54cf3be
......@@ -5,6 +5,10 @@
T=$(mktemp /tmp/wrpc-config.XXXXXX)
configs=$(ls configs)
if [ $# -ne 0 ]; then
configs="$*"
fi
for c in $configs; do
echo "##### Building with '$c'"
if ! make $c 2>&1 >> $T; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment