From: Michael Tremer Date: Thu, 23 Nov 2017 12:24:38 +0000 (+0000) Subject: make.sh: TARGET_ARCH has been replaced by BUILD_ARCH X-Git-Tag: v2.19-core117~1^2~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=813659f268114c4c80439d08f6d777dd74d630e4;p=people%2Fstevee%2Fipfire-2.x.git make.sh: TARGET_ARCH has been replaced by BUILD_ARCH Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index a0be1ce660..4609c29772 100755 --- a/make.sh +++ b/make.sh @@ -767,14 +767,17 @@ if [ -f .config ]; then . .config fi +# TARGET_ARCH is BUILD_ARCH now +if [ -n "${TARGET_ARCH}" ]; then + BUILD_ARCH="${TARGET_ARCH}" + unset TARGET_ARCH +fi + # Get the amount of memory in this build system HOST_MEM=$(system_memory) if [ -n "${BUILD_ARCH}" ]; then configure_build "${BUILD_ARCH}" -elif [ -n "${TARGET_ARCH}" ]; then - configure_build "${TARGET_ARCH}" - unset TARGET_ARCH else configure_build "default" fi