summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2022-01-15 09:50:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-25 12:07:01 +0000
commita87f135041c3258faf5692919716f9219bf99446 (patch)
tree45c6a7ad654af306760887fb696634874b03b946 /meta
parent2fdcd47d340652b31401f25ddd91fcfa261eb374 (diff)
downloadpoky-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.inc19
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 @@
1DEFAULTTUNE ?= "armv8-5a"
2
3TUNEVALID[armv8-5a] = "Enable instructions for ARMv8.5-a"
4TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-5a', ' -march=armv8.5-a', '', d)}"
5# TUNE crypto will be handled by arch-armv8a.inc below
6MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-5a', 'armv8-5a:', '', d)}"
7
8require conf/machine/include/arm/arch-armv8a.inc
9
10# Little Endian base configs
11AVAILTUNES += "armv8-5a armv8-5a-crypto"
12ARMPKGARCH_tune-armv8-5a ?= "armv8-5a"
13ARMPKGARCH_tune-armv8-5a-crypto ?= "armv8-5a"
14TUNE_FEATURES_tune-armv8-5a = "aarch64 armv8-5a"
15TUNE_FEATURES_tune-armv8-5a-crypto = "${TUNE_FEATURES_tune-armv8-5a} crypto"
16PACKAGE_EXTRA_ARCHS_tune-armv8-5a = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} armv8-5a"
17PACKAGE_EXTRA_ARCHS_tune-armv8-5a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8-5a} armv8-5a-crypto"
18BASE_LIB_tune-armv8-5a = "lib64"
19BASE_LIB_tune-armv8-5a-crypto = "lib64"