diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2020-07-24 17:43:05 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-27 10:37:58 +0100 |
commit | 61a7d0711f99af45ecb91dc1efb9af6274ba5a44 (patch) | |
tree | 0e1ee70de8ca5736480030e7a915654c8906449f /meta/conf/machine/include | |
parent | 89fcdf98683b2802a0155bf9f608f1a4a413f9fc (diff) | |
download | poky-61a7d0711f99af45ecb91dc1efb9af6274ba5a44.tar.gz |
arch-armv8-2a.inc: add tune include for armv8.2a
Add tune include for armv8.2a. This adds support only for bare armv8.2a
(and for crypto extension). There is no support for additional
instructions added by architecture extensions (except the main crypto
extension support).
(From OE-Core rev: 88c79a56b4ddab61c16cd4cb7b887e7d7223d845)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv8-2a.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv8-2a.inc b/meta/conf/machine/include/arm/arch-armv8-2a.inc new file mode 100644 index 0000000000..1c095256d1 --- /dev/null +++ b/meta/conf/machine/include/arm/arch-armv8-2a.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | DEFAULTTUNE ?= "armv8-2a" | ||
2 | |||
3 | TUNEVALID[armv8-2a] = "Enable instructions for ARMv8-a" | ||
4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-2a', ' -march=armv8.2-a', '', d)}" | ||
5 | # TUNE crypto will be handled by arch-armv8a.inc below | ||
6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-2a', 'armv8-2a:', '' ,d)}" | ||
7 | |||
8 | require conf/machine/include/arm/arch-armv8a.inc | ||
9 | |||
10 | # Little Endian base configs | ||
11 | AVAILTUNES += "armv8-2a armv8-2a-crypto" | ||
12 | ARMPKGARCH_tune-armv8-2a ?= "armv8-2a" | ||
13 | ARMPKGARCH_tune-armv8-2a-crypto ?= "armv8-2a" | ||
14 | TUNE_FEATURES_tune-armv8-2a = "aarch64 armv8-2a" | ||
15 | TUNE_FEATURES_tune-armv8-2a-crypto = "${TUNE_FEATURES_tune-armv8-2a} crypto" | ||
16 | PACKAGE_EXTRA_ARCHS_tune-armv8-2a = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} armv8-2a" | ||
17 | PACKAGE_EXTRA_ARCHS_tune-armv8-2a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8-2a} armv8-2a-crypto" | ||
18 | BASE_LIB_tune-armv8-2a = "lib64" | ||
19 | BASE_LIB_tune-armv8-2a-crypto = "lib64" | ||