blob: 97c944dfa5b1d8d66c2452b97c065280f9e96d0f [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DEFAULTTUNE ?= "armv8a-crc"
2
3TUNEVALID[armv8a] = "Enable instructions for ARMv8-a"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05004TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', ' -march=armv8-a', '', d)}"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05005MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', 'armv8a:', '', d)}"
Brad Bishop19323692019-04-05 15:28:33 -04006
7require conf/machine/include/arm/arch-arm64.inc
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05008require conf/machine/include/arm/feature-arm-crc.inc
9require conf/machine/include/arm/feature-arm-crypto.inc
Brad Bishop19323692019-04-05 15:28:33 -040010
11# Little Endian base configs
12AVAILTUNES += "armv8a armv8a-crc armv8a-crc-crypto armv8a-crypto"
Patrick Williams213cb262021-08-07 19:21:33 -050013ARMPKGARCH:tune-armv8a ?= "armv8a"
14ARMPKGARCH:tune-armv8a-crc ?= "armv8a"
15ARMPKGARCH:tune-armv8a-crypto ?= "armv8a"
16ARMPKGARCH:tune-armv8a-crc-crypto ?= "armv8a"
17TUNE_FEATURES:tune-armv8a = "aarch64 armv8a"
18TUNE_FEATURES:tune-armv8a-crc = "${TUNE_FEATURES:tune-armv8a} crc"
19TUNE_FEATURES:tune-armv8a-crypto = "${TUNE_FEATURES:tune-armv8a} crypto"
20TUNE_FEATURES:tune-armv8a-crc-crypto = "${TUNE_FEATURES:tune-armv8a-crc} crypto"
21PACKAGE_EXTRA_ARCHS:tune-armv8a = "aarch64 armv8a"
22PACKAGE_EXTRA_ARCHS:tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8a-crc"
23PACKAGE_EXTRA_ARCHS:tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8a-crypto"
24PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} armv8a-crypto armv8a-crc-crypto"
25BASE_LIB:tune-armv8a = "lib64"
26BASE_LIB:tune-armv8a-crc = "lib64"
27BASE_LIB:tune-armv8a-crypto = "lib64"
28BASE_LIB:tune-armv8a-crc-crypto = "lib64"