check 64 bit by using platform family

This commit is contained in:
haochengkuo
2021-03-25 11:38:35 +08:00
parent 53e2f05583
commit bb83774489

View File

@ -47,8 +47,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" ]
}