Fix for building after SDK path changes.
This commit is contained in:
parent
6832c05138
commit
dbda20ee8a
@ -110,6 +110,11 @@ prepare_clean() { _prepare_clean "$@"; }
|
|||||||
_prepare_clean() {
|
_prepare_clean() {
|
||||||
local prefix=$1 platform=$2; shift 2
|
local prefix=$1 platform=$2; shift 2
|
||||||
|
|
||||||
|
if [[ $platform = windows ]]; then :
|
||||||
|
else
|
||||||
|
[[ ! -e Makefile ]] || make -s clean || git clean -fdx
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf "$prefix"
|
rm -rf "$prefix"
|
||||||
install -d "$prefix/out"
|
install -d "$prefix/out"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user