1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-06 02:40:18 +00:00

arm/optee-test: don't attempt to build with musl

optee-test doesn't build on musl (or bionic) because libstdc++.a under musl
depends on libc providing the pthread functions, but TAs are built without
a libc.

Until this is fixed upstream (see https://github.com/OP-TEE/optee_test/issues/458)
simply refuse to build optee-test with musl.

Change-Id: If73fd43683e19e2943bf54f4027806786fb1dc7d
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2020-11-02 16:09:55 +00:00
committed by Jon Mason
parent 8dddb06aa2
commit 6c88dba4a4
@@ -8,6 +8,10 @@ LIC_FILES_CHKSUM = "file://${S}/LICENSE.md;md5=daa2bcccc666345ab8940aab1315a4fa"
inherit python3native
require optee.inc
# Linking fails on musl due to C++/threads
# https://github.com/OP-TEE/optee_test/issues/458#issuecomment-720540834
COMPATIBLE_HOST_libc-musl = 'null'
DEPENDS = "optee-client optee-os python3-pycryptodomex-native"
SRC_URI = "git://github.com/OP-TEE/optee_test.git \