mirror of https://github.com/thesofproject/sof.git
scripts: build-all: warn when ignoring unknown arguments
Example: $ ./scripts/xtensa-build-all.sh -j3 ./scripts/xtensa-build-all.sh: WARN: ignoring arg -j3 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
60fc730003
commit
e73344a736
|
@ -73,6 +73,7 @@ else
|
|||
then
|
||||
PLATFORMS+=$i" "
|
||||
BUILD_JOBS_NEXT=0
|
||||
continue 2
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -81,7 +82,10 @@ else
|
|||
then
|
||||
BUILD_JOBS=$args
|
||||
BUILD_JOBS_NEXT=0
|
||||
continue
|
||||
fi
|
||||
|
||||
printf '%s: WARN: ignoring arg %s\n' "$0" "$args" >&2
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue