diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-01-26 15:31:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-02 10:38:28 +0000 |
commit | 04eac1f2b67eac5f892a9e0f8fcfe54849923af5 (patch) | |
tree | 877b8431d8ba788beeef9e82b22a498f011908f5 /meta | |
parent | 069d2dfd86e8ba6cc6bcf21d908d87319ac1fcde (diff) | |
download | poky-04eac1f2b67eac5f892a9e0f8fcfe54849923af5.tar.gz |
armv8/armv9: Avoid using -march when -mcpu is chosen
Current include logic goes into generic arm v8/v9 architecture tunes and
adds corresponding -march option after synthesizing it from various tune
fragments, this is fine for a machine which is using armv8/armv9 based
tunes but cortex tunes are intentionally using -mcpu option based on
selected tune value. So when cortex based default tune is selected for a
machine, it will add both -mcpu and -march to the compiler commandline
which can result in invalid combinations for this pair in gcc's own
logic. This can then result in compiler warnings/errors reporting this
e.g.
aarch64-yoe-linux-gcc -mcpu=cortex-a72.cortex-a53 -march=armv8-a+crc+crypto -mbranch-protection=standard
...
cc1: error: switch '-mcpu=cortex-a72.cortex-a53' conflicts with '-march=armv8-a+crc+crypto' switch and resulted in options '+crc+crypto' being added [-Werror]
This is seen in lot of configure test results in glibc 2.39 and the
warning is promoted to errors by gcc in some of these checks especially
with gcc-14, the logs also show it as warning in other places in
configure checks.
mcpu option will compute relevant march implicitly as it specifies a cpu
implementation and this will be the right value to use, therefore do not
specify -march when -mcpu is already describing the cpu.
(From OE-Core rev: e64f0c1b6ac5d598a79a21de5f3060f83cb9523e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
29 files changed, 57 insertions, 29 deletions
diff --git a/meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc b/meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc index 493ad67b21..0a115be8a4 100644 --- a/meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc +++ b/meta/conf/machine/include/arm/armv8-1m/tune-cortexm55.inc | |||
@@ -10,5 +10,6 @@ require conf/machine/include/arm/arch-armv8-1m-main.inc | |||
10 | 10 | ||
11 | AVAILTUNES += "cortexm55" | 11 | AVAILTUNES += "cortexm55" |
12 | ARMPKGARCH:tune-cortexm55 = "cortexm55" | 12 | ARMPKGARCH:tune-cortexm55 = "cortexm55" |
13 | TUNE_FEATURES:tune-cortexm55 = "${TUNE_FEATURES:tune-armv8-1m-main} cortexm55" | 13 | # We do not want -march since -mcpu is added above to cover for it |
14 | TUNE_FEATURES:tune-cortexm55 = "cortexm55" | ||
14 | PACKAGE_EXTRA_ARCHS:tune-cortexm55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-1m-main} cortexm55" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexm55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-1m-main} cortexm55" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa55.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa55.inc index d130b4b90a..5e63b45ae0 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa55.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa55.inc | |||
@@ -8,6 +8,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa55" | 9 | AVAILTUNES += "cortexa55" |
10 | ARMPKGARCH:tune-cortexa55 = "cortexa55" | 10 | ARMPKGARCH:tune-cortexa55 = "cortexa55" |
11 | TUNE_FEATURES:tune-cortexa55 = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa55" | 11 | # We do not want -march since -mcpu is added above to cover for it |
12 | TUNE_FEATURES:tune-cortexa55 = "aarch64 crypto cortexa55" | ||
12 | PACKAGE_EXTRA_ARCHS:tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa55" | 13 | PACKAGE_EXTRA_ARCHS:tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa55" |
13 | BASE_LIB:tune-cortexa55 = "lib64" | 14 | BASE_LIB:tune-cortexa55 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc index c7e86887b5..ba96d0452e 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc | |||
@@ -11,6 +11,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
11 | # Little Endian base configs | 11 | # Little Endian base configs |
12 | AVAILTUNES += "cortexa65" | 12 | AVAILTUNES += "cortexa65" |
13 | ARMPKGARCH:tune-cortexa65 = "cortexa65" | 13 | ARMPKGARCH:tune-cortexa65 = "cortexa65" |
14 | TUNE_FEATURES:tune-cortexa65 = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa65" | 14 | # We do not want -march since -mcpu is added above to cover for it |
15 | TUNE_FEATURES:tune-cortexa65 = "aarch64 crypto cortexa65" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa65 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa65" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa65 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa65" |
16 | BASE_LIB:tune-cortexa65 = "lib64" | 17 | BASE_LIB:tune-cortexa65 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65ae.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65ae.inc index dad6d1b174..cc92147441 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65ae.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa65ae.inc | |||
@@ -11,6 +11,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
11 | # Little Endian base configs | 11 | # Little Endian base configs |
12 | AVAILTUNES += "cortexa65ae" | 12 | AVAILTUNES += "cortexa65ae" |
13 | ARMPKGARCH:tune-cortexa65ae = "cortexa65ae" | 13 | ARMPKGARCH:tune-cortexa65ae = "cortexa65ae" |
14 | TUNE_FEATURES:tune-cortexa65ae = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa65ae" | 14 | # We do not want -march since -mcpu is added above to cover for it |
15 | TUNE_FEATURES:tune-cortexa65ae = "aarch64 crypto cortexa65ae" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa65ae = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa65ae" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa65ae = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa65ae" |
16 | BASE_LIB:tune-cortexa65ae = "lib64" | 17 | BASE_LIB:tune-cortexa65ae = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75-cortexa55.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75-cortexa55.inc index 3a47e8278d..e18b2cb6e0 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75-cortexa55.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75-cortexa55.inc | |||
@@ -12,7 +12,8 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
12 | AVAILTUNES += "cortexa75-cortexa55 cortexa75-cortexa55-crypto" | 12 | AVAILTUNES += "cortexa75-cortexa55 cortexa75-cortexa55-crypto" |
13 | ARMPKGARCH:tune-cortexa75-cortexa55 = "cortexa75-cortexa55" | 13 | ARMPKGARCH:tune-cortexa75-cortexa55 = "cortexa75-cortexa55" |
14 | ARMPKGARCH:tune-cortexa75-cortexa55-crypto = "cortexa75-cortexa55-crypto" | 14 | ARMPKGARCH:tune-cortexa75-cortexa55-crypto = "cortexa75-cortexa55-crypto" |
15 | TUNE_FEATURES:tune-cortexa75-cortexa55 = "${TUNE_FEATURES:tune-armv8-2a} cortexa75-cortexa55" | 15 | # We do not want -march since -mcpu is added above to cover for it |
16 | TUNE_FEATURES:tune-cortexa75-cortexa55 = "aarch64 cortexa75-cortexa55" | ||
16 | TUNE_FEATURES:tune-cortexa75-cortexa55-crypto = "${TUNE_FEATURES:tune-cortexa75-cortexa55} crypto" | 17 | TUNE_FEATURES:tune-cortexa75-cortexa55-crypto = "${TUNE_FEATURES:tune-cortexa75-cortexa55} crypto" |
17 | PACKAGE_EXTRA_ARCHS:tune-cortexa75-cortexa55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a} cortexa75-cortexa55" | 18 | PACKAGE_EXTRA_ARCHS:tune-cortexa75-cortexa55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a} cortexa75-cortexa55" |
18 | PACKAGE_EXTRA_ARCHS:tune-cortexa75-cortexa55-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa75-cortexa55 cortexa75-cortexa55-crypto" | 19 | PACKAGE_EXTRA_ARCHS:tune-cortexa75-cortexa55-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa75-cortexa55 cortexa75-cortexa55-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75.inc index 2d9a1159f1..453be2e6fd 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa75.inc | |||
@@ -11,6 +11,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
11 | # Little Endian base configs | 11 | # Little Endian base configs |
12 | AVAILTUNES += "cortexa75" | 12 | AVAILTUNES += "cortexa75" |
13 | ARMPKGARCH:tune-cortexa75 = "cortexa75" | 13 | ARMPKGARCH:tune-cortexa75 = "cortexa75" |
14 | TUNE_FEATURES:tune-cortexa75 = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa75" | 14 | # We do not want -march since -mcpu is added above to cover for it |
15 | TUNE_FEATURES:tune-cortexa75 = "aarch64 crypto cortexa75" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa75 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa75" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa75 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa75" |
16 | BASE_LIB:tune-cortexa75 = "lib64" | 17 | BASE_LIB:tune-cortexa75 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76-cortexa55.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76-cortexa55.inc index f4c99ad6bb..7daf9d91a8 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76-cortexa55.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76-cortexa55.inc | |||
@@ -12,7 +12,8 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
12 | AVAILTUNES += "cortexa76-cortexa55 cortexa76-cortexa55-crypto" | 12 | AVAILTUNES += "cortexa76-cortexa55 cortexa76-cortexa55-crypto" |
13 | ARMPKGARCH:tune-cortexa76-cortexa55 = "cortexa76-cortexa55" | 13 | ARMPKGARCH:tune-cortexa76-cortexa55 = "cortexa76-cortexa55" |
14 | ARMPKGARCH:tune-cortexa76-cortexa55-crypto = "cortexa76-cortexa55-crypto" | 14 | ARMPKGARCH:tune-cortexa76-cortexa55-crypto = "cortexa76-cortexa55-crypto" |
15 | TUNE_FEATURES:tune-cortexa76-cortexa55 = "${TUNE_FEATURES:tune-armv8-2a} cortexa76-cortexa55" | 15 | # We do not want -march since -mcpu is added above to cover for it |
16 | TUNE_FEATURES:tune-cortexa76-cortexa55 = "aarch64 cortexa76-cortexa55" | ||
16 | TUNE_FEATURES:tune-cortexa76-cortexa55-crypto = "${TUNE_FEATURES:tune-cortexa76-cortexa55} crypto" | 17 | TUNE_FEATURES:tune-cortexa76-cortexa55-crypto = "${TUNE_FEATURES:tune-cortexa76-cortexa55} crypto" |
17 | PACKAGE_EXTRA_ARCHS:tune-cortexa76-cortexa55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a} cortexa76-cortexa55" | 18 | PACKAGE_EXTRA_ARCHS:tune-cortexa76-cortexa55 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a} cortexa76-cortexa55" |
18 | PACKAGE_EXTRA_ARCHS:tune-cortexa76-cortexa55-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa76-cortexa55 cortexa76-cortexa55-crypto" | 19 | PACKAGE_EXTRA_ARCHS:tune-cortexa76-cortexa55-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa76-cortexa55 cortexa76-cortexa55-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76.inc index 0dfdb8c5e4..14ed81214d 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76.inc | |||
@@ -11,6 +11,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
11 | # Little Endian base configs | 11 | # Little Endian base configs |
12 | AVAILTUNES += "cortexa76" | 12 | AVAILTUNES += "cortexa76" |
13 | ARMPKGARCH:tune-cortexa76 = "cortexa76" | 13 | ARMPKGARCH:tune-cortexa76 = "cortexa76" |
14 | TUNE_FEATURES:tune-cortexa76 = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa76" | 14 | # We do not want -march since -mcpu is added above to cover for it |
15 | TUNE_FEATURES:tune-cortexa76 = "aarch64 crypto cortexa76" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa76 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa76" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa76 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa76" |
16 | BASE_LIB:tune-cortexa76 = "lib64" | 17 | BASE_LIB:tune-cortexa76 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76ae.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76ae.inc index b2863dca68..191863bac8 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76ae.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa76ae.inc | |||
@@ -11,6 +11,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
11 | # Little Endian base configs | 11 | # Little Endian base configs |
12 | AVAILTUNES += "cortexa76ae" | 12 | AVAILTUNES += "cortexa76ae" |
13 | ARMPKGARCH:tune-cortexa76ae = "cortexa76ae" | 13 | ARMPKGARCH:tune-cortexa76ae = "cortexa76ae" |
14 | TUNE_FEATURES:tune-cortexa76ae = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa76ae" | 14 | # We do not want -march since -mcpu is added above to cover for it |
15 | TUNE_FEATURES:tune-cortexa76ae = "aarch64 crypto cortexa76ae" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa76ae = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa76ae" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa76ae = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa76ae" |
16 | BASE_LIB:tune-cortexa76ae = "lib64" | 17 | BASE_LIB:tune-cortexa76ae = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa77.inc b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa77.inc index 654b1f6323..1522fd6abd 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-cortexa77.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-cortexa77.inc | |||
@@ -11,6 +11,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
11 | # Little Endian base configs | 11 | # Little Endian base configs |
12 | AVAILTUNES += "cortexa77" | 12 | AVAILTUNES += "cortexa77" |
13 | ARMPKGARCH:tune-cortexa77 = "cortexa77" | 13 | ARMPKGARCH:tune-cortexa77 = "cortexa77" |
14 | TUNE_FEATURES:tune-cortexa77 = "${TUNE_FEATURES:tune-armv8-2a-crypto} cortexa77" | 14 | # We do not want -march since -mcpu is added above to cover for it |
15 | TUNE_FEATURES:tune-cortexa77 = "aarch64 crypto cortexa77" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa77 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa77" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa77 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} cortexa77" |
16 | BASE_LIB:tune-cortexa77 = "lib64" | 17 | BASE_LIB:tune-cortexa77 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-neoversee1.inc b/meta/conf/machine/include/arm/armv8-2a/tune-neoversee1.inc index 15ed595bde..e906cf965c 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-neoversee1.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-neoversee1.inc | |||
@@ -11,6 +11,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
11 | # Little Endian base configs | 11 | # Little Endian base configs |
12 | AVAILTUNES += "neoversee1" | 12 | AVAILTUNES += "neoversee1" |
13 | ARMPKGARCH:tune-neoversee1 = "neoversee1" | 13 | ARMPKGARCH:tune-neoversee1 = "neoversee1" |
14 | TUNE_FEATURES:tune-neoversee1 = "${TUNE_FEATURES:tune-armv8-2a-crypto} neoversee1" | 14 | # We do not want -march since -mcpu is added above to cover for it |
15 | TUNE_FEATURES:tune-neoversee1 = "aarch64 crypto neoversee1" | ||
15 | PACKAGE_EXTRA_ARCHS:tune-neoversee1 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} neoversee1" | 16 | PACKAGE_EXTRA_ARCHS:tune-neoversee1 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} neoversee1" |
16 | BASE_LIB:tune-neoversee1 = "lib64" | 17 | BASE_LIB:tune-neoversee1 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-neoversen1.inc b/meta/conf/machine/include/arm/armv8-2a/tune-neoversen1.inc index 9d181ef4d5..55f054713f 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-neoversen1.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-neoversen1.inc | |||
@@ -12,6 +12,6 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
12 | # Little Endian base configs | 12 | # Little Endian base configs |
13 | AVAILTUNES += "neoversen1" | 13 | AVAILTUNES += "neoversen1" |
14 | ARMPKGARCH:tune-neoversen1 = "neoversen1" | 14 | ARMPKGARCH:tune-neoversen1 = "neoversen1" |
15 | TUNE_FEATURES:tune-neoversen1 = "${TUNE_FEATURES:tune-armv8-2a-crypto} neoversen1" | 15 | TUNE_FEATURES:tune-neoversen1 = "aarch64 crypto neoversen1" |
16 | PACKAGE_EXTRA_ARCHS:tune-neoversen1 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} neoversen1" | 16 | PACKAGE_EXTRA_ARCHS:tune-neoversen1 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} neoversen1" |
17 | BASE_LIB:tune-neoversen1 = "lib64" | 17 | BASE_LIB:tune-neoversen1 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc index 2cac70ea52..e9d7a59c51 100644 --- a/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc +++ b/meta/conf/machine/include/arm/armv8-2a/tune-octeontx2.inc | |||
@@ -8,6 +8,7 @@ require conf/machine/include/arm/arch-armv8-2a.inc | |||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "octeontx2" | 9 | AVAILTUNES += "octeontx2" |
10 | ARMPKGARCH:tune-octeontx2 = "octeontx2" | 10 | ARMPKGARCH:tune-octeontx2 = "octeontx2" |
11 | TUNE_FEATURES:tune-octeontx2 = "${TUNE_FEATURES:tune-armv8-2a-crypto} octeontx2" | 11 | # We do not want -march since -mcpu is added above to cover for it |
12 | TUNE_FEATURES:tune-octeontx2 = "aarch64 crypto octeontx2" | ||
12 | PACKAGE_EXTRA_ARCHS:tune-octeontx2 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} octeontx2" | 13 | PACKAGE_EXTRA_ARCHS:tune-octeontx2 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto} octeontx2" |
13 | BASE_LIB:tune-octeontx2 = "lib64" | 14 | BASE_LIB:tune-octeontx2 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc index 25780bc080..e83e0ba68a 100644 --- a/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc +++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm23.inc | |||
@@ -10,5 +10,6 @@ require conf/machine/include/arm/arch-armv8m-base.inc | |||
10 | 10 | ||
11 | AVAILTUNES += "cortexm23" | 11 | AVAILTUNES += "cortexm23" |
12 | ARMPKGARCH:tune-cortexm23 = "cortexm23" | 12 | ARMPKGARCH:tune-cortexm23 = "cortexm23" |
13 | TUNE_FEATURES:tune-cortexm23 = "${TUNE_FEATURES:tune-armv8m-base} cortexm23" | 13 | # We do not want -march since -mcpu is added above to cover for it |
14 | TUNE_FEATURES:tune-cortexm23 = "cortexm23" | ||
14 | PACKAGE_EXTRA_ARCHS:tune-cortexm23 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-base} cortexm23" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexm23 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-base} cortexm23" |
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc index 04d1fe2bde..606900d7a2 100644 --- a/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc +++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm33.inc | |||
@@ -13,5 +13,6 @@ require conf/machine/include/arm/arch-armv8m-main.inc | |||
13 | # be fixed in GCC | 13 | # be fixed in GCC |
14 | AVAILTUNES += "cortexm33" | 14 | AVAILTUNES += "cortexm33" |
15 | ARMPKGARCH:tune-cortexm33 = "cortexm33" | 15 | ARMPKGARCH:tune-cortexm33 = "cortexm33" |
16 | TUNE_FEATURES:tune-cortexm33 = "${TUNE_FEATURES:tune-armv8m-maine-vfpv5spd16} cortexm33" | 16 | # We do not want -march since -mcpu is added above to cover for it |
17 | TUNE_FEATURES:tune-cortexm33 = "vfpv5spd16 dsp cortexm33" | ||
17 | PACKAGE_EXTRA_ARCHS:tune-cortexm33 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm33e-fpv5-spd16" | 18 | PACKAGE_EXTRA_ARCHS:tune-cortexm33 = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm33e-fpv5-spd16" |
diff --git a/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc b/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc index 60e978facd..4394adab0b 100644 --- a/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc +++ b/meta/conf/machine/include/arm/armv8-m/tune-cortexm35p.inc | |||
@@ -13,5 +13,6 @@ require conf/machine/include/arm/arch-armv8m-main.inc | |||
13 | # be fixed in GCC | 13 | # be fixed in GCC |
14 | AVAILTUNES += "cortexm35p" | 14 | AVAILTUNES += "cortexm35p" |
15 | ARMPKGARCH:tune-cortexm35p = "cortexm35p" | 15 | ARMPKGARCH:tune-cortexm35p = "cortexm35p" |
16 | TUNE_FEATURES:tune-cortexm35p = "${TUNE_FEATURES:tune-armv8m-maine-vfpv5spd16} cortexm35p" | 16 | # We do not want -march since -mcpu is added above to cover for it |
17 | TUNE_FEATURES:tune-cortexm35p = "vfpv5spd16 dsp cortexm35p" | ||
17 | PACKAGE_EXTRA_ARCHS:tune-cortexm35p = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm35pe-fpv5-spd16" | 18 | PACKAGE_EXTRA_ARCHS:tune-cortexm35p = "${PACKAGE_EXTRA_ARCHS:tune-armv8m-maine-vfpv5spd16} cortexm35pe-fpv5-spd16" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc index c7b01a2906..25bdf12b18 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc | |||
@@ -9,7 +9,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa32 cortexa32-crypto" | 9 | AVAILTUNES += "cortexa32 cortexa32-crypto" |
10 | ARMPKGARCH:tune-cortexa32 = "cortexa32" | 10 | ARMPKGARCH:tune-cortexa32 = "cortexa32" |
11 | ARMPKGARCH:tune-cortexa32-crypto = "cortexa32" | 11 | ARMPKGARCH:tune-cortexa32-crypto = "cortexa32" |
12 | TUNE_FEATURES:tune-cortexa32 = "armv8a cortexa32 crc callconvention-hard neon" | 12 | # We do not want -march since -mcpu is added above to cover for it |
13 | TUNE_FEATURES:tune-cortexa32 = "aarch64 cortexa32 crc callconvention-hard neon" | ||
13 | TUNE_FEATURES:tune-cortexa32-crypto = "${TUNE_FEATURES:tune-cortexa32} crypto" | 14 | TUNE_FEATURES:tune-cortexa32-crypto = "${TUNE_FEATURES:tune-cortexa32} crypto" |
14 | PACKAGE_EXTRA_ARCHS:tune-cortexa32 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa32 cortexa32hf-neon" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexa32 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa32 cortexa32hf-neon" |
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa32-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa32 cortexa32hf-neon cortexa32hf-neon-crypto" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa32-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa32 cortexa32hf-neon cortexa32hf-neon-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa34.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa34.inc index 55dd845b00..c195d73378 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa34.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa34.inc | |||
@@ -12,7 +12,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
12 | AVAILTUNES += "cortexa34 cortexa34-crypto" | 12 | AVAILTUNES += "cortexa34 cortexa34-crypto" |
13 | ARMPKGARCH:tune-cortexa34 = "cortexa34" | 13 | ARMPKGARCH:tune-cortexa34 = "cortexa34" |
14 | ARMPKGARCH:tune-cortexa34-crypto = "cortexa34" | 14 | ARMPKGARCH:tune-cortexa34-crypto = "cortexa34" |
15 | TUNE_FEATURES:tune-cortexa34 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa34" | 15 | # We do not want -march since -mcpu is added above to cover for it |
16 | TUNE_FEATURES:tune-cortexa34 = "aarch64 crc cortexa34" | ||
16 | TUNE_FEATURES:tune-cortexa34-crypto = "${TUNE_FEATURES:tune-cortexa34} crypto" | 17 | TUNE_FEATURES:tune-cortexa34-crypto = "${TUNE_FEATURES:tune-cortexa34} crypto" |
17 | PACKAGE_EXTRA_ARCHS:tune-cortexa34 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa34" | 18 | PACKAGE_EXTRA_ARCHS:tune-cortexa34 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa34" |
18 | PACKAGE_EXTRA_ARCHS:tune-cortexa34-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa34 cortexa34-crypto" | 19 | PACKAGE_EXTRA_ARCHS:tune-cortexa34-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa34 cortexa34-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa35.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa35.inc index 33afb19386..d811c84455 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa35.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa35.inc | |||
@@ -9,7 +9,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa35 cortexa35-crypto" | 9 | AVAILTUNES += "cortexa35 cortexa35-crypto" |
10 | ARMPKGARCH:tune-cortexa35 = "cortexa35" | 10 | ARMPKGARCH:tune-cortexa35 = "cortexa35" |
11 | ARMPKGARCH:tune-cortexa35-crypto = "cortexa35" | 11 | ARMPKGARCH:tune-cortexa35-crypto = "cortexa35" |
12 | TUNE_FEATURES:tune-cortexa35 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa35" | 12 | # We do not want -march since -mcpu is added above to cover for it |
13 | TUNE_FEATURES:tune-cortexa35 = "aarch64 crc cortexa35" | ||
13 | TUNE_FEATURES:tune-cortexa35-crypto = "${TUNE_FEATURES:tune-cortexa35} crypto" | 14 | TUNE_FEATURES:tune-cortexa35-crypto = "${TUNE_FEATURES:tune-cortexa35} crypto" |
14 | PACKAGE_EXTRA_ARCHS:tune-cortexa35 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa35" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexa35 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa35" |
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa35 cortexa35-crypto" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa35 cortexa35-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa53.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa53.inc index a534ad358d..a88575eb15 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa53.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa53.inc | |||
@@ -9,7 +9,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa53 cortexa53-crypto" | 9 | AVAILTUNES += "cortexa53 cortexa53-crypto" |
10 | ARMPKGARCH:tune-cortexa53 = "cortexa53" | 10 | ARMPKGARCH:tune-cortexa53 = "cortexa53" |
11 | ARMPKGARCH:tune-cortexa53-crypto = "cortexa53-crypto" | 11 | ARMPKGARCH:tune-cortexa53-crypto = "cortexa53-crypto" |
12 | TUNE_FEATURES:tune-cortexa53 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa53" | 12 | # We do not want -march since -mcpu is added above to cover for it |
13 | TUNE_FEATURES:tune-cortexa53 = "aarch64 crc cortexa53" | ||
13 | TUNE_FEATURES:tune-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa53} crypto" | 14 | TUNE_FEATURES:tune-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa53} crypto" |
14 | PACKAGE_EXTRA_ARCHS:tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa53" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa53" |
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa57-cortexa53.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa57-cortexa53.inc index 7de671a2e5..052d1173c9 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa57-cortexa53.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa57-cortexa53.inc | |||
@@ -9,6 +9,7 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | # Little Endian base configs | 9 | # Little Endian base configs |
10 | AVAILTUNES += "cortexa57-cortexa53" | 10 | AVAILTUNES += "cortexa57-cortexa53" |
11 | ARMPKGARCH:tune-cortexa57-cortexa53 = "cortexa57-cortexa53" | 11 | ARMPKGARCH:tune-cortexa57-cortexa53 = "cortexa57-cortexa53" |
12 | TUNE_FEATURES:tune-cortexa57-cortexa53 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa57-cortexa53" | 12 | # We do not want -march since -mcpu is added above to cover for it |
13 | TUNE_FEATURES:tune-cortexa57-cortexa53 = "aarch64 crc cortexa57-cortexa53" | ||
13 | PACKAGE_EXTRA_ARCHS:tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa57-cortexa53" | 14 | PACKAGE_EXTRA_ARCHS:tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa57-cortexa53" |
14 | BASE_LIB:tune-cortexa57-cortexa53 = "lib64" | 15 | BASE_LIB:tune-cortexa57-cortexa53 = "lib64" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa57.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa57.inc index 37650d8798..b0de20f836 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa57.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa57.inc | |||
@@ -9,7 +9,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa57 cortexa57-crypto" | 9 | AVAILTUNES += "cortexa57 cortexa57-crypto" |
10 | ARMPKGARCH:tune-cortexa57 = "cortexa57" | 10 | ARMPKGARCH:tune-cortexa57 = "cortexa57" |
11 | ARMPKGARCH:tune-cortexa57-crypto = "cortexa57-crypto" | 11 | ARMPKGARCH:tune-cortexa57-crypto = "cortexa57-crypto" |
12 | TUNE_FEATURES:tune-cortexa57 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa57" | 12 | # We do not want -march since -mcpu is added above to cover for it |
13 | TUNE_FEATURES:tune-cortexa57 = "aarch64 crc cortexa57" | ||
13 | TUNE_FEATURES:tune-cortexa57-crypto = "${TUNE_FEATURES:tune-cortexa57} crypto" | 14 | TUNE_FEATURES:tune-cortexa57-crypto = "${TUNE_FEATURES:tune-cortexa57} crypto" |
14 | PACKAGE_EXTRA_ARCHS:tune-cortexa57 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa57" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexa57 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa57" |
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa57-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa57 cortexa57-crypto" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa57-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa57 cortexa57-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc index a77ef59d62..ff188aec5f 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc | |||
@@ -10,7 +10,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
10 | AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto" | 10 | AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto" |
11 | ARMPKGARCH:tune-cortexa72-cortexa53 = "cortexa72-cortexa53" | 11 | ARMPKGARCH:tune-cortexa72-cortexa53 = "cortexa72-cortexa53" |
12 | ARMPKGARCH:tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53-crypto" | 12 | ARMPKGARCH:tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53-crypto" |
13 | TUNE_FEATURES:tune-cortexa72-cortexa53 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa72-cortexa53" | 13 | # We do not want -march since -mcpu is added above to cover for it |
14 | TUNE_FEATURES:tune-cortexa72-cortexa53 = "aarch64 crc cortexa72-cortexa53" | ||
14 | TUNE_FEATURES:tune-cortexa72-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa72-cortexa53} crypto" | 15 | TUNE_FEATURES:tune-cortexa72-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa72-cortexa53} crypto" |
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa72-cortexa53" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa72-cortexa53" |
16 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto" | 17 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc index b0a017e444..cbb6418c06 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa72.inc | |||
@@ -9,7 +9,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa72 cortexa72-crypto" | 9 | AVAILTUNES += "cortexa72 cortexa72-crypto" |
10 | ARMPKGARCH:tune-cortexa72 = "cortexa72" | 10 | ARMPKGARCH:tune-cortexa72 = "cortexa72" |
11 | ARMPKGARCH:tune-cortexa72-crypto = "cortexa72" | 11 | ARMPKGARCH:tune-cortexa72-crypto = "cortexa72" |
12 | TUNE_FEATURES:tune-cortexa72 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa72" | 12 | # We do not want -march since -mcpu is added above to cover for it |
13 | TUNE_FEATURES:tune-cortexa72 = "aarch64 crc cortexa72" | ||
13 | TUNE_FEATURES:tune-cortexa72-crypto = "${TUNE_FEATURES:tune-cortexa72} crypto" | 14 | TUNE_FEATURES:tune-cortexa72-crypto = "${TUNE_FEATURES:tune-cortexa72} crypto" |
14 | PACKAGE_EXTRA_ARCHS:tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa72" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa72" |
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72 cortexa72-crypto" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa72-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72 cortexa72-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa35.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa35.inc index 869670bf0c..4f4f25f511 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa35.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa35.inc | |||
@@ -13,7 +13,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
13 | AVAILTUNES += "cortexa73-cortexa35 cortexa73-cortexa35-crypto" | 13 | AVAILTUNES += "cortexa73-cortexa35 cortexa73-cortexa35-crypto" |
14 | ARMPKGARCH:tune-cortexa73-cortexa35 = "cortexa73-cortexa35" | 14 | ARMPKGARCH:tune-cortexa73-cortexa35 = "cortexa73-cortexa35" |
15 | ARMPKGARCH:tune-cortexa73-cortexa35-crypto = "cortexa73-cortexa35-crypto" | 15 | ARMPKGARCH:tune-cortexa73-cortexa35-crypto = "cortexa73-cortexa35-crypto" |
16 | TUNE_FEATURES:tune-cortexa73-cortexa35 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa73-cortexa35" | 16 | # We do not want -march since -mcpu is added above to cover for it |
17 | TUNE_FEATURES:tune-cortexa73-cortexa35 = "aarch64 crc cortexa73-cortexa35" | ||
17 | TUNE_FEATURES:tune-cortexa73-cortexa35-crypto = "${TUNE_FEATURES:tune-cortexa73-cortexa35} crypto" | 18 | TUNE_FEATURES:tune-cortexa73-cortexa35-crypto = "${TUNE_FEATURES:tune-cortexa73-cortexa35} crypto" |
18 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa35 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa73-cortexa35" | 19 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa35 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa73-cortexa35" |
19 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa73-cortexa35 cortexa73-cortexa35-crypto" | 20 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa35-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa73-cortexa35 cortexa73-cortexa35-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa53.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa53.inc index 9cebffd54d..1d152ed83b 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa53.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa53.inc | |||
@@ -10,7 +10,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
10 | AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto" | 10 | AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto" |
11 | ARMPKGARCH:tune-cortexa73-cortexa53 = "cortexa73-cortexa53" | 11 | ARMPKGARCH:tune-cortexa73-cortexa53 = "cortexa73-cortexa53" |
12 | ARMPKGARCH:tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53-crypto" | 12 | ARMPKGARCH:tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53-crypto" |
13 | TUNE_FEATURES:tune-cortexa73-cortexa53 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa73-cortexa53" | 13 | # We do not want -march since -mcpu is added above to cover for it |
14 | TUNE_FEATURES:tune-cortexa73-cortexa53 = "aarch64 crc cortexa73-cortexa53" | ||
14 | TUNE_FEATURES:tune-cortexa73-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa73-cortexa53} crypto" | 15 | TUNE_FEATURES:tune-cortexa73-cortexa53-crypto = "${TUNE_FEATURES:tune-cortexa73-cortexa53} crypto" |
15 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa73-cortexa53" | 16 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa73-cortexa53" |
16 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto" | 17 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa73.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa73.inc index 13876e7245..b3b06a4f09 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa73.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa73.inc | |||
@@ -12,7 +12,8 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
12 | AVAILTUNES += "cortexa73 cortexa73-crypto" | 12 | AVAILTUNES += "cortexa73 cortexa73-crypto" |
13 | ARMPKGARCH:tune-cortexa73 = "cortexa73" | 13 | ARMPKGARCH:tune-cortexa73 = "cortexa73" |
14 | ARMPKGARCH:tune-cortexa73-crypto = "cortexa73" | 14 | ARMPKGARCH:tune-cortexa73-crypto = "cortexa73" |
15 | TUNE_FEATURES:tune-cortexa73 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa73" | 15 | # We do not want -march since -mcpu is added above to cover for it |
16 | TUNE_FEATURES:tune-cortexa73 = "aarch64 crc cortexa73" | ||
16 | TUNE_FEATURES:tune-cortexa73-crypto = "${TUNE_FEATURES:tune-cortexa73} crypto" | 17 | TUNE_FEATURES:tune-cortexa73-crypto = "${TUNE_FEATURES:tune-cortexa73} crypto" |
17 | PACKAGE_EXTRA_ARCHS:tune-cortexa73 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa73" | 18 | PACKAGE_EXTRA_ARCHS:tune-cortexa73 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa73" |
18 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa73 cortexa73-crypto" | 19 | PACKAGE_EXTRA_ARCHS:tune-cortexa73-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa73 cortexa73-crypto" |
diff --git a/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc b/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc index 3a97cf8ee8..02507d9b78 100644 --- a/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc +++ b/meta/conf/machine/include/arm/armv8r/tune-cortexr52.inc | |||
@@ -10,5 +10,6 @@ require conf/machine/include/arm/arch-armv8r.inc | |||
10 | 10 | ||
11 | AVAILTUNES += "cortexr52" | 11 | AVAILTUNES += "cortexr52" |
12 | ARMPKGARCH:tune-cortexr52 = "cortexr52" | 12 | ARMPKGARCH:tune-cortexr52 = "cortexr52" |
13 | TUNE_FEATURES:tune-cortexr52 = "${TUNE_FEATURES:tune-armv8r-crc-simd} cortexr52" | 13 | # We do not want -march since -mcpu is added above to cover for it |
14 | TUNE_FEATURES:tune-cortexr52 = "aarch64 crc simd cortexr52" | ||
14 | PACKAGE_EXTRA_ARCHS:tune-cortexr52 = "${PACKAGE_EXTRA_ARCHS:tune-armv8r-crc-simd} cortexr52" | 15 | PACKAGE_EXTRA_ARCHS:tune-cortexr52 = "${PACKAGE_EXTRA_ARCHS:tune-armv8r-crc-simd} cortexr52" |
diff --git a/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc b/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc index d26ab25e48..ad60a3c9f3 100644 --- a/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc +++ b/meta/conf/machine/include/arm/armv9a/tune-neoversen2.inc | |||
@@ -12,7 +12,8 @@ require conf/machine/include/arm/arch-armv9a.inc | |||
12 | AVAILTUNES += "neoversen2 neoversen2-crypto" | 12 | AVAILTUNES += "neoversen2 neoversen2-crypto" |
13 | ARMPKGARCH:tune-neoversen2 = "neoversen2" | 13 | ARMPKGARCH:tune-neoversen2 = "neoversen2" |
14 | ARMPKGARCH:tune-neoversen2-crypto = "neoversen2-crypto" | 14 | ARMPKGARCH:tune-neoversen2-crypto = "neoversen2-crypto" |
15 | TUNE_FEATURES:tune-neoversen2 = "${TUNE_FEATURES:tune-armv9a} neoversen2" | 15 | # We do not want -march since -mcpu is added above to cover for it |
16 | TUNE_FEATURES:tune-neoversen2 = "aarch64 neoversen2" | ||
16 | TUNE_FEATURES:tune-neoversen2-crypto = "${TUNE_FEATURES:tune-neoversen2} crypto" | 17 | TUNE_FEATURES:tune-neoversen2-crypto = "${TUNE_FEATURES:tune-neoversen2} crypto" |
17 | PACKAGE_EXTRA_ARCHS:tune-neoversen2 = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} neoversen2" | 18 | PACKAGE_EXTRA_ARCHS:tune-neoversen2 = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} neoversen2" |
18 | PACKAGE_EXTRA_ARCHS:tune-neoversen2-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto} neoversen2 neoversen2-crypto" | 19 | PACKAGE_EXTRA_ARCHS:tune-neoversen2-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto} neoversen2 neoversen2-crypto" |