build: evaluate DEVTOOLS after $HOME options

This commit is contained in:
MilhouseVH 2016-06-27 10:57:39 +01:00
parent 457702ad49
commit 44a4797740

View File

@ -82,11 +82,6 @@ fi
# directory.
CCACHE_CACHE_SIZE="10G"
# install devtools on development builds
if [ "$LIBREELEC_VERSION" = "devel" ]; then
DEVTOOLS=yes
fi
# read options from $HOME if available
if [ -f "$HOME/.libreelec/options" ]; then
. $HOME/.libreelec/options
@ -100,6 +95,11 @@ fi
. $HOME/.libreelec/options.$DISTRO
fi
# install devtools on development builds
if [ -z "$DEVTOOLS" -a "$LIBREELEC_VERSION" = "devel" ]; then
DEVTOOLS=yes
fi
# overwrite OEM_SUPPORT via commandline
if [ "$OEM" = yes -o "$OEM" = no ]; then
OEM_SUPPORT=$OEM