aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 9ebe515..4185779 100755
--- a/build.sh
+++ b/build.sh
@@ -328,6 +328,13 @@ if [ -z "${IS_TESTING}" ]; then
fi
export IS_TESTING
+if [ "${PREFER_RASPI_SOURCE}" = "1" -a "${TARGET_RASPI}" = "1" -a "${TARGET_ARCH}" = "armhf" ]; then
+ USE_RASPI_SOURCE=1
+else
+ USE_RASPI_SOURCE=0
+fi
+export USE_RASPI_SOURCE
+
# shellcheck source=scripts/common
source "${SCRIPT_DIR}/common"
# shellcheck source=scripts/dependencies_check