aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildsteps')
-rw-r--r--tools/buildsteps/android-arm64-v8a/configure-depends2
-rw-r--r--tools/buildsteps/android/configure-depends2
-rw-r--r--tools/buildsteps/androidx86/configure-depends2
-rw-r--r--tools/buildsteps/defaultenv5
-rwxr-xr-xtools/buildsteps/ios/configure-depends2
-rwxr-xr-xtools/buildsteps/linux64/configure-depends2
-rwxr-xr-xtools/buildsteps/osx64/configure-depends2
-rwxr-xr-xtools/buildsteps/rbpi/configure-depends2
8 files changed, 12 insertions, 7 deletions
diff --git a/tools/buildsteps/android-arm64-v8a/configure-depends b/tools/buildsteps/android-arm64-v8a/configure-depends
index 7ab5d71f4b..94de43f6c2 100644
--- a/tools/buildsteps/android-arm64-v8a/configure-depends
+++ b/tools/buildsteps/android-arm64-v8a/configure-depends
@@ -17,5 +17,5 @@ then
$(if [ "$SDK_VERSION" != "Default" ]; then echo --with-sdk=android-$SDK_VERSION;fi) \
--with-toolchain=$TOOLCHAIN \
--prefix=$XBMC_DEPENDS_ROOT \
- --enable-neon
+ --enable-neon $DEBUG_SWITCH
fi
diff --git a/tools/buildsteps/android/configure-depends b/tools/buildsteps/android/configure-depends
index cb9dd9366f..d0ff7790f2 100644
--- a/tools/buildsteps/android/configure-depends
+++ b/tools/buildsteps/android/configure-depends
@@ -17,5 +17,5 @@ then
$(if [ "$SDK_VERSION" != "Default" ]; then echo --with-sdk=android-$SDK_VERSION;fi) \
--with-toolchain=$TOOLCHAIN \
--prefix=$XBMC_DEPENDS_ROOT \
- --enable-neon
+ --enable-neon $DEBUG_SWITCH
fi
diff --git a/tools/buildsteps/androidx86/configure-depends b/tools/buildsteps/androidx86/configure-depends
index 69b2309845..15b2802707 100644
--- a/tools/buildsteps/androidx86/configure-depends
+++ b/tools/buildsteps/androidx86/configure-depends
@@ -16,5 +16,5 @@ then
--with-ndk=$NDK_PATH \
$(if [ "$SDK_VERSION" != "Default" ]; then echo --with-sdk=android-$SDK_VERSION;fi) \
--with-toolchain=$TOOLCHAIN \
- --prefix=$XBMC_DEPENDS_ROOT
+ --prefix=$XBMC_DEPENDS_ROOT $DEBUG_SWITCH
fi
diff --git a/tools/buildsteps/defaultenv b/tools/buildsteps/defaultenv
index 8674b63e34..581f2d5164 100644
--- a/tools/buildsteps/defaultenv
+++ b/tools/buildsteps/defaultenv
@@ -73,6 +73,11 @@ then
Configuration=$DEFAULT_CONFIGURATION
fi
+if [ "$Configuration" == "Release" ]
+then
+ DEBUG_SWITCH='--disable-debug'
+fi
+
#helper functions
#hash a dir based on the git revision, SDK_PATH, NDK_PATH, NDK_VERSION, SDK_VERSION, TOOLCHAIN and XBMC_DEPENDS_ROOT
diff --git a/tools/buildsteps/ios/configure-depends b/tools/buildsteps/ios/configure-depends
index c80f53fda8..b53893f869 100755
--- a/tools/buildsteps/ios/configure-depends
+++ b/tools/buildsteps/ios/configure-depends
@@ -9,5 +9,5 @@ then
--host=arm-apple-darwin \
--with-sdk=$SDK_VERSION \
--with-cpu=$DARWIN_ARM_CPU \
- --prefix=$XBMC_DEPENDS_ROOT
+ --prefix=$XBMC_DEPENDS_ROOT $DEBUG_SWITCH
fi
diff --git a/tools/buildsteps/linux64/configure-depends b/tools/buildsteps/linux64/configure-depends
index 44edac1431..40e4ab57ff 100755
--- a/tools/buildsteps/linux64/configure-depends
+++ b/tools/buildsteps/linux64/configure-depends
@@ -5,5 +5,5 @@ XBMC_PLATFORM_DIR=linux64
if [ "$(pathChanged $WORKSPACE/tools/depends)" == "1" ]
then
cd $WORKSPACE/tools/depends;./configure \
- --with-toolchain=/usr --prefix=$XBMC_DEPENDS_ROOT --host=x86_64-linux-gnu --with-tarballs=$TARBALLS
+ --with-toolchain=/usr --prefix=$XBMC_DEPENDS_ROOT --host=x86_64-linux-gnu --with-tarballs=$TARBALLS $DEBUG_SWITCH
fi
diff --git a/tools/buildsteps/osx64/configure-depends b/tools/buildsteps/osx64/configure-depends
index 62f97700b3..2dd22d4a3e 100755
--- a/tools/buildsteps/osx64/configure-depends
+++ b/tools/buildsteps/osx64/configure-depends
@@ -8,5 +8,5 @@ then
--with-tarballs=/Users/Shared/xbmc-depends/tarballs \
--host=x86_64-apple-darwin \
--with-sdk=$SDK_VERSION \
- --prefix=$XBMC_DEPENDS_ROOT
+ --prefix=$XBMC_DEPENDS_ROOT $DEBUG_SWITCH
fi
diff --git a/tools/buildsteps/rbpi/configure-depends b/tools/buildsteps/rbpi/configure-depends
index 32fb7a1f0b..b1fb8a6b27 100755
--- a/tools/buildsteps/rbpi/configure-depends
+++ b/tools/buildsteps/rbpi/configure-depends
@@ -8,5 +8,5 @@ then
PATH="$PATH:$JENKINS_RBPI_DEVENV/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin" \
./configure --with-platform=raspberry-pi --host=arm-linux-gnueabihf --prefix=$XBMC_DEPENDS_ROOT --with-tarballs=$TARBALLS \
- --with-firmware=$JENKINS_RBPI_DEVENV/firmware --build=i686-linux
+ --with-firmware=$JENKINS_RBPI_DEVENV/firmware --build=i686-linux $DEBUG_SWITCH
fi