diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2022-01-15 09:50:43 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-25 12:07:01 +0000 |
commit | a87f135041c3258faf5692919716f9219bf99446 (patch) | |
tree | 45c6a7ad654af306760887fb696634874b03b946 /meta | |
parent | 2fdcd47d340652b31401f25ddd91fcfa261eb374 (diff) | |
download | poky-a87f135041c3258faf5692919716f9219bf99446.tar.gz |
arch-armv8-5a.inc: Add tune include for armv8.5a
This adds support for the armv8.5a architecture and the crypto
extension.
(From OE-Core rev: 0cb1a6d9cb4c32526d79dad93c8053b3793053f8)
(From OE-Core rev: 8cd6d67c08b275f81a5467aeba1192bce957f604)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Kevin: Convert to the old style override syntax]
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv8-5a.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv8-5a.inc b/meta/conf/machine/include/arm/arch-armv8-5a.inc new file mode 100644 index 0000000000..44c3b5bd22 --- /dev/null +++ b/meta/conf/machine/include/arm/arch-armv8-5a.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | DEFAULTTUNE ?= "armv8-5a" | ||
2 | |||
3 | TUNEVALID[armv8-5a] = "Enable instructions for ARMv8.5-a" | ||
4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-5a', ' -march=armv8.5-a', '', d)}" | ||
5 | # TUNE crypto will be handled by arch-armv8a.inc below | ||
6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-5a', 'armv8-5a:', '', d)}" | ||
7 | |||
8 | require conf/machine/include/arm/arch-armv8a.inc | ||
9 | |||
10 | # Little Endian base configs | ||
11 | AVAILTUNES += "armv8-5a armv8-5a-crypto" | ||
12 | ARMPKGARCH_tune-armv8-5a ?= "armv8-5a" | ||
13 | ARMPKGARCH_tune-armv8-5a-crypto ?= "armv8-5a" | ||
14 | TUNE_FEATURES_tune-armv8-5a = "aarch64 armv8-5a" | ||
15 | TUNE_FEATURES_tune-armv8-5a-crypto = "${TUNE_FEATURES_tune-armv8-5a} crypto" | ||
16 | PACKAGE_EXTRA_ARCHS_tune-armv8-5a = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} armv8-5a" | ||
17 | PACKAGE_EXTRA_ARCHS_tune-armv8-5a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8-5a} armv8-5a-crypto" | ||
18 | BASE_LIB_tune-armv8-5a = "lib64" | ||
19 | BASE_LIB_tune-armv8-5a-crypto = "lib64" | ||