build-u_boot: Remove ARCH

This commit is contained in:
Johan Gunnarsson 2021-08-07 17:48:26 +02:00
parent 32ff4a72aa
commit 1ce31410fc
1 changed files with 0 additions and 17 deletions

View File

@ -28,23 +28,6 @@ if [ -d "${U_BOOT_PATCHES_DIR}" ]; then
git apply "${U_BOOT_PATCHES_DIR}"/*.patch || :
fi
# Setup ARCH
case "${TUPLE}" in
arm-*)
export ARCH="arm"
;;
aarch64-*)
export ARCH="aarch64"
;;
x86_64-*|i?86-*)
export ARCH="x86"
;;
*)
echo "Can't decide \$ARCH for tuple \"${TUPLE}\""
exit 1
;;
esac
# CROSS_COMPILE must point to a valid compiler path prefix
export CROSS_COMPILE=$(dirname $(which "${TUPLE}-gcc"))/"${TUPLE}-"