diff options
author | Lukas Rusak <lorusak@gmail.com> | 2020-11-01 15:43:34 -0800 |
---|---|---|
committer | Lukas Rusak <lorusak@gmail.com> | 2020-11-01 15:45:07 -0800 |
commit | e6c841ab89ed5af62a11434ecf7e1ef38ce50de9 (patch) | |
tree | e6b2c96dd533101503716a516325d7c43083bcb1 /tools/buildsteps | |
parent | a5c77a45a036900c32532f4c65b29659af224f87 (diff) |
tools/buildsteps: set default build host for linux
Diffstat (limited to 'tools/buildsteps')
-rw-r--r-- | tools/buildsteps/defaultenv | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/buildsteps/defaultenv b/tools/buildsteps/defaultenv index 0108ac2fff..1c0ac276fb 100644 --- a/tools/buildsteps/defaultenv +++ b/tools/buildsteps/defaultenv @@ -10,6 +10,7 @@ FAILED_BUILD_FILENAME=".last_failed_revision" #TARBALLS ENV-VAR is only used by android scripts atm TARBALLS=${TARBALLS:-"/opt/xbmc-tarballs"} RENDER_SYSTEM=${RENDER_SYSTEM:-"Default"} +BUILD_HOST=${BUILD_HOST:-"Default"} BINARY_ADDONS_ROOT=tools/depends/target BINARY_ADDONS="binary-addons" @@ -46,10 +47,11 @@ case $XBMC_PLATFORM_DIR in DEFAULT_CONFIGURATION="Debug" ;; - linux*) + linux) DEFAULT_XBMC_DEPENDS_ROOT=$WORKSPACE/tools/depends/xbmc-depends DEFAULT_CONFIGURATION="Debug" DEFAULT_RENDER_SYSTEM="gl" + DEFAULT_BUILD_HOST="x86_64-linux-gnu" ;; freebsd) @@ -100,6 +102,11 @@ then RENDER_SYSTEM=$DEFAULT_RENDER_SYSTEM fi +if [ "$BUILD_HOST" == "Default" ] +then + BUILD_HOST=$DEFAULT_BUILD_HOST +fi + #helper functions #hash a dir based on the git revision, Configuration, SDK_PATH, NDK_PATH, NDK_VERSION, SDK_VERSION, TOOLCHAIN and XBMC_DEPENDS_ROOT |