]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
clang-cross: trim the recipes
authorRoss Burton <ross.burton@arm.com>
Mon, 28 Jul 2025 13:17:51 +0000 (14:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Aug 2025 17:04:00 +0000 (18:04 +0100)
commit5d96ed55acf7b9a908241222097ad809355de7cf
tree4d1b2e90e7d6d837884ab012f776f3716a2ede32
parent24c32edb1b29a0746bb4470fea11e87b8027d9f9
clang-cross: trim the recipes

As a single clang-native build is a cross-compiler for all targets, this
recipe should simply create target-prefixed symlinks.

As such, it doesn't need to pull in the common clang include files, or
set TOOLCHAIN.

Unsetting PACKAGES isn't needed as cross inherits nopackages.

The sysroot preprocessing is used to stage bindir, but cross recipes
already stage this directory.

There doesn't appear to be a need to copy clang, so these are now linked
too.

SSTATE_SCAN_FILES only works on actual files not symlinks, so setting it
is pointless.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/clang/clang-cross-canadian_git.bb
meta/recipes-devtools/clang/clang-cross_git.bb
meta/recipes-devtools/clang/clang-crosssdk_git.bb