mirror of https://github.com/parazyd/arm-sdk.git
implement blends sourced from the web
This commit is contained in:
parent
4dcc8ff379
commit
421068e588
|
|
@ -1 +1 @@
|
|||
Subproject commit eb174853f16e2295dc07e071a8d33eecd0ce9d90
|
||||
Subproject commit dd5d5d9d368854d9493941e39f61b471eccd5762
|
||||
10
sdk
10
sdk
|
|
@ -98,9 +98,17 @@ load() {
|
|||
oslib="${os_map[$os]}"
|
||||
blendlib="${blend_map[$blend]}"
|
||||
|
||||
[[ $blendlib =~ '^http\:' ]] && {
|
||||
notice "grabbing blend from the internetz"
|
||||
pushd $R/extra/blends
|
||||
curl -O $blendlib
|
||||
popd
|
||||
blendlib="$R/extra/blends/$(basename $blendlib)"
|
||||
}
|
||||
|
||||
[[ -f $boardlib ]] || { die "no valid boards specified"; exit 1 }
|
||||
[[ -f $oslib ]] || { die "no valid distro specified"; exit 1 }
|
||||
[[ -f $blendlib ]] || { warn "no valid blend specified"; exit 1 }
|
||||
[[ -f $blendlib ]] || warn "no valid blend specified"
|
||||
|
||||
[[ -f $boardlib ]] && source $boardlib && act "$device_name build script loaded"
|
||||
[[ -f $oslib ]] && source $oslib
|
||||
|
|
|
|||
Loading…
Reference in New Issue