summaryrefslogtreecommitdiff
path: root/payloads/libpayload/util
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/util')
-rw-r--r--payloads/libpayload/util/xcompile/xcompile13
1 files changed, 12 insertions, 1 deletions
diff --git a/payloads/libpayload/util/xcompile/xcompile b/payloads/libpayload/util/xcompile/xcompile
index 03d6f1fcc8..9cc2d6923e 100644
--- a/payloads/libpayload/util/xcompile/xcompile
+++ b/payloads/libpayload/util/xcompile/xcompile
@@ -111,6 +111,11 @@ detect_special_flags() {
# CFLAGS="$CFLAGS -mcpu=cortex-a9"
;;
esac
+
+ case "$architecture" in
+ arm64-generic )
+ ;;
+ esac
}
report_arch_toolchain() {
@@ -135,7 +140,7 @@ touch "$TMPFILE"
trap clean_up EXIT
# Architecture definition
-SUPPORTED_ARCHITECTURE="x86 arm"
+SUPPORTED_ARCHITECTURE="x86 arm arm64"
# ARM Architecture
TARCH_arm="arm"
@@ -143,6 +148,12 @@ TBFDARCH_arm="littlearm"
TCLIST_arm="armv7a armv7-a"
TWIDTH_arm="32"
+# ARM64 Architecture
+TARCH_arm64="arm64"
+TBFDARCH_arm64="littleaarch64"
+TCLIST_arm64="aarch64"
+TWIDTH_arm64="64"
+
# X86 Architecture
TARCH_x86="i386"
TBFDARCH_x86="i386"