]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
tunes: set valid clang tune for big.LITTLE Arm SoCs
authorGyorgy Sarvari <skandigraun@gmail.com>
Wed, 16 Jul 2025 18:40:02 +0000 (20:40 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jul 2025 21:59:31 +0000 (22:59 +0100)
commit12c820f624730a04a17ae2cdbecc4e6987c45cf7
tree50e4242e9766425384c7bef7c705a44f10cbffb6
parente65073ff67e715999f6ab3906ead181e26c57360
tunes: set valid clang tune for big.LITTLE Arm SoCs

clang doesn't have Arm big.LITTLE specific tune options - when such an option is used,
the compilation fails with an error like this:

aarch64-poky-linux-clang: error: unsupported argument 'cortex-a72.cortex-a53+crc+crypto' to option '-mcpu='

To avoid this, in case a big.LITTLE SoC is the target and the toolchain is clang, select
the tune corresponding to the LITTLE core.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/include/arm/armv8-2a/tune-cortexa75-cortexa55.inc
meta/conf/machine/include/arm/armv8-2a/tune-cortexa76-cortexa55.inc
meta/conf/machine/include/arm/armv8a/tune-cortexa57-cortexa53.inc
meta/conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa35.inc
meta/conf/machine/include/arm/armv8a/tune-cortexa73-cortexa53.inc