summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorKevin Hao <kexin.hao@windriver.com>2021-12-24 18:05:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-13 13:57:26 +0000
commit2dfd80bce51e3405a337bf5f7fe2519d3dcf8048 (patch)
tree90470210f61fa9be9fa8a1f32ea70e5d1322d67b /meta/conf
parentcdab88ed712682aee5b9ed46926297f41f132951 (diff)
downloadpoky-2dfd80bce51e3405a337bf5f7fe2519d3dcf8048.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) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-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..a1bcb7fb9a
--- /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_MARCH .= "${@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"