packagegroup-core-buildessential: Add clang with clang toolchain
PATCH v2 1/1 packagegroup-core-buildessential: Add clang with clang toolchain
When the target is built with the clang toolchain, python's sysconfig and perl's Config record ${TARGET_PREFIX}clang as the C compiler, so anything compiling on the target through them fails when only gcc is installed:
FileNotFoundError: [Errno 2] No such file or directory: 'x86_64-yoe-linux-clang'
The target clang package installs the ${TARGET_PREFIX}clang symlinks. Add it to packagegroup-core-buildessential
Signed-off-by Khem Raj <[email protected]>
Cc Ross Burton <[email protected]>
Cc Paul Barker <[email protected]>
---
v2: Drop anon python from ptest.bbclass, it slows things down
.../packagegroups/packagegroup-core-buildessential.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/packagegroups/packagegroup-core-buildessential.bb +1 -0
@@ -29,3 +29,4 @@ RDEPENDS:packagegroup-core-buildessential = "\ pkgconfig \ " +RDEPENDS:packagegroup-core-buildessential:append:toolchain-clang = " clang"