blob: 6e92bdb7a42918db77684149c24182cef69165e1 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001DEFAULTTUNE ?= "armv8a-crc"
2
3TUNEVALID[armv8a] = "Enable instructions for ARMv8-a"
4TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', ' -march=armv8-a', '', d)}"
5TUNEVALID[crc] = "Enable instructions for ARMv8-a Cyclic Redundancy Check (CRC)"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crc', '+crc', '', d)}"
7TUNEVALID[crypto] = "Enable instructions for ARMv8-a cryptographic"
8TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crypto', '+crypto', '', d)}"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05009MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', 'armv8a:', '', d)}"
Brad Bishop19323692019-04-05 15:28:33 -040010
11require conf/machine/include/arm/arch-arm64.inc
12
13# Little Endian base configs
14AVAILTUNES += "armv8a armv8a-crc armv8a-crc-crypto armv8a-crypto"
15ARMPKGARCH_tune-armv8a ?= "armv8a"
16ARMPKGARCH_tune-armv8a-crc ?= "armv8a"
17ARMPKGARCH_tune-armv8a-crypto ?= "armv8a"
18ARMPKGARCH_tune-armv8a-crc-crypto ?= "armv8a"
19TUNE_FEATURES_tune-armv8a = "aarch64 armv8a"
20TUNE_FEATURES_tune-armv8a-crc = "${TUNE_FEATURES_tune-armv8a} crc"
21TUNE_FEATURES_tune-armv8a-crypto = "${TUNE_FEATURES_tune-armv8a} crypto"
22TUNE_FEATURES_tune-armv8a-crc-crypto = "${TUNE_FEATURES_tune-armv8a-crc} crypto"
23PACKAGE_EXTRA_ARCHS_tune-armv8a = "aarch64 armv8a"
24PACKAGE_EXTRA_ARCHS_tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} armv8a-crc"
25PACKAGE_EXTRA_ARCHS_tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} armv8a-crypto"
26PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} armv8a-crypto armv8a-crc-crypto"
27BASE_LIB_tune-armv8a = "lib64"
28BASE_LIB_tune-armv8a-crc = "lib64"
29BASE_LIB_tune-armv8a-crypto = "lib64"
30BASE_LIB_tune-armv8a-crc-crypto = "lib64"