check 64 bit by using platform family

This commit is contained in:
haochengkuo
2021-03-25 11:38:35 +08:00
parent 68c46a0f23
commit 54f7eaae0f

View File

@ -49,8 +49,7 @@ AllPlatformOptions () {
}
Is64BitPlatform() {
local all64BitPlatforms="X64 BROMOLOW CEDARVIEW AVOTON BRASWELL BROADWELL DOCKERX64 KVMX64 GRANTLEY DENVERTON REALTEK_RTD1296 APOLLOLAKE BROADWELLNK"
CheckInList $BUILD_TARGET $all64BitPlatforms && return 0 || return 1
[ "$PLATFORM_FAMILY" = "SYNOPLAT_F_X86_64" ] || [ "$PLATFORM_FAMILY" = "SYNOPLAT_F_ARMV8" ]
}