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 <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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}/*"