From: Hemanth Kumar M D Date: Wed, 27 May 2026 13:35:13 +0000 (-0700) Subject: libc-test: limit libatomic-staticdev ptest dependency to GCC X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=41ca48a579b26d4e78d6c211dde6ca692901ee79;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git libc-test: limit libatomic-staticdev ptest dependency to GCC clang does not require libatomic-staticdev for the libc-test static tests. Restrict the dependency addition to GCC toolchain using the toolchain-gcc override. Signed-off-by: Hemanth Kumar M D Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/musl/libc-test_git.bb b/meta/recipes-core/musl/libc-test_git.bb index d9999ec377..15a2ce42f7 100644 --- a/meta/recipes-core/musl/libc-test_git.bb +++ b/meta/recipes-core/musl/libc-test_git.bb @@ -36,13 +36,14 @@ RDEPENDS:${PN} = " \ RDEPENDS:${PN}-ptest = " \ ${PN} \ - libatomic-staticdev \ locale-base-en-us \ musl-staticdev \ sed \ tzdata \ " +RDEPENDS:${PN}-ptest:append:toolchain-gcc = " libatomic-staticdev" + install_path = "/opt/${PN}" FILES:${PN} += "${install_path}/*"