blob: c38d6cfdf6093feeb98ed635882c64a180d462f6 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001DEFAULTTUNE ?= "armv9a-crc"
2
3TUNEVALID[armv9a] = "Enable instructions for ARMv9-a"
4TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv9a', ' -march=armv9-a', '', d)}"
5MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv9a', 'armv9a:', '', d)}"
6
7require conf/machine/include/arm/arch-arm64.inc
8require conf/machine/include/arm/feature-arm-crc.inc
9require conf/machine/include/arm/feature-arm-crypto.inc
10
11# Little Endian base configs
12AVAILTUNES += "armv9a armv9a-crc armv9a-crc-crypto armv9a-crypto"
13ARMPKGARCH:tune-armv9a ?= "armv9a"
14ARMPKGARCH:tune-armv9a-crc ?= "armv9a"
15ARMPKGARCH:tune-armv9a-crypto ?= "armv9a"
16ARMPKGARCH:tune-armv9a-crc-crypto ?= "armv9a"
17TUNE_FEATURES:tune-armv9a = "aarch64 armv9a"
18TUNE_FEATURES:tune-armv9a-crc = "${TUNE_FEATURES:tune-armv9a} crc"
19TUNE_FEATURES:tune-armv9a-crypto = "${TUNE_FEATURES:tune-armv9a} crypto"
20TUNE_FEATURES:tune-armv9a-crc-crypto = "${TUNE_FEATURES:tune-armv9a-crc} crypto"
21PACKAGE_EXTRA_ARCHS:tune-armv9a = "aarch64 armv9a"
22PACKAGE_EXTRA_ARCHS:tune-armv9a-crc = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9a-crc"
23PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9a-crypto"
24PACKAGE_EXTRA_ARCHS:tune-armv9a-crc-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a-crc} armv9a-crypto armv9a-crc-crypto"
25BASE_LIB:tune-armv9a = "lib64"
26BASE_LIB:tune-armv9a-crc = "lib64"
27BASE_LIB:tune-armv9a-crypto = "lib64"
28BASE_LIB:tune-armv9a-crc-crypto = "lib64"