aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/rbpi/make-native-depends
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps/rbpi/make-native-depends')
-rwxr-xr-xtools/buildsteps/rbpi/make-native-depends2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildsteps/rbpi/make-native-depends b/tools/buildsteps/rbpi/make-native-depends
index 5f6d64c452..d4d9e7dbe1 100755
--- a/tools/buildsteps/rbpi/make-native-depends
+++ b/tools/buildsteps/rbpi/make-native-depends
@@ -2,7 +2,7 @@ WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=rbpi
. $WORKSPACE/tools/buildsteps/defaultenv
-if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
+if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ] && [ "$BINARY_ADDONS_CLEAN_NATIVETOOLS" != "0" ]
then
git clean -xffd $WORKSPACE/tools/depends/native
cd $WORKSPACE/tools/depends/native;make -j $BUILDTHREADS && tagSuccessFulBuild $WORKSPACE/tools/depends