diff options
author | Kevin Hao <kexin.hao@windriver.com> | 2021-12-24 18:05:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-13 13:57:26 +0000 |
commit | 2dfd80bce51e3405a337bf5f7fe2519d3dcf8048 (patch) | |
tree | 90470210f61fa9be9fa8a1f32ea70e5d1322d67b /meta/conf | |
parent | cdab88ed712682aee5b9ed46926297f41f132951 (diff) | |
download | poky-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.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..a1bcb7fb9a --- /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_MARCH .= "${@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" | ||