mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/build: add --all support using build config
This commit is contained in:
parent
1e4f6dc107
commit
ccd4458425
@ -20,6 +20,15 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$1" = "--all" ]; then
|
||||
if [ ! -z "$2" ]; then
|
||||
for build_dir in $(ls -1d ${ROOT}/build.*); do
|
||||
load_build_config ${build_dir} && ./scripts/build $2
|
||||
done
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "usage: $0 package_name[:<host|target|init|bootstrap>]"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user