diff options
| author | Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com> | 2024-10-16 17:55:55 +0530 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-11-26 05:37:09 -0800 |
| commit | f29a31d72317706807af34f098e903d122973869 (patch) | |
| tree | 8e0e4c1cadf0ff0ce58b1b47ae0f9fefaa082fe7 /meta/conf/machine/include/arm/armv8a | |
| parent | 7eb33afbbfe9c5cd11be29a66fd876c67e7e7cf4 (diff) | |
| download | poky-f29a31d72317706807af34f098e903d122973869.tar.gz | |
tune-cortexa32: set tune feature as armv8a
Cortexa32 is a 32-bit armv8a architecture processor, so set the tune feature
as armv8a instead of aarch64 which is 64-bit armv8a architecture.
It solves the following build error while compiling libgcc-initial
and libssp-nonshared.
-- snip --
aarch64-poky-linux-musl-gcc: error: unrecognized command-line option '-mfpu=neon'
aarch64-poky-linux-musl-gcc: error: unrecognized command-line option '-mfloat-abi=hard'
-- snip --
(From OE-Core rev: 19402b5e867616e26c0013402a3b9f32acb6d9fc)
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b898270aca62559dfa42ed71d296fe8a8b46a41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/conf/machine/include/arm/armv8a')
| -rw-r--r-- | meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc b/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc index 25bdf12b18..0eb938a240 100644 --- a/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc +++ b/meta/conf/machine/include/arm/armv8a/tune-cortexa32.inc | |||
| @@ -10,7 +10,7 @@ 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 | # We do not want -march since -mcpu is added above to cover for it | 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 = "armv8a cortexa32 crc callconvention-hard neon" |
| 14 | TUNE_FEATURES:tune-cortexa32-crypto = "${TUNE_FEATURES:tune-cortexa32} crypto" | 14 | TUNE_FEATURES:tune-cortexa32-crypto = "${TUNE_FEATURES:tune-cortexa32} crypto" |
| 15 | 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" |
| 16 | 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" |
