summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlejandro Hernandez Samaniego <alejandro@enedino.org>2022-01-09 23:28:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-11 15:47:11 +0000
commit9efcde387b31335d16394ce6b30e4abb1525185f (patch)
tree0b55b4adac56fb848c9009aeda0f7e9afc8e12df /meta
parentcb17cccaf2f51558bd1d320559bd792d5869688e (diff)
downloadopenembedded-core-9efcde387b31335d16394ce6b30e4abb1525185f.tar.gz
tclibc-newlib: Supply missing /bin/sh target in newlib sdk
SDK recipe now require a provider for /bin/sh, this should come from nativesdk-sdk-provides-dummy which is added by default to Linux SDKs, however tclibc-newlib requires us to explicitly add its new dependency to TOOLCHAIN_HOST_TASK, otherwise we get a packaging error while generating an SDK. e.g. package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk requires gdb-cross-canadian-riscv32, but none of the providers can be installed - conflicting requests - nothing provides /bin/sh needed by gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/tclibc-newlib.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/include/tclibc-newlib.inc b/meta/conf/distro/include/tclibc-newlib.inc
index e3590582d9..238b430e49 100644
--- a/meta/conf/distro/include/tclibc-newlib.inc
+++ b/meta/conf/distro/include/tclibc-newlib.inc
@@ -38,7 +38,7 @@ BASE_DEFAULT_DEPS:append:class-target = " ${NEWLIB_EXTENDED}"
TARGET_OS = "elf"
TARGET_OS:arm = "eabi"
-TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE} nativesdk-qemu"
+TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE} nativesdk-qemu nativesdk-sdk-provides-dummy"
TOOLCHAIN_TARGET_TASK ?= "${LIBC_DEPENDENCIES}"
TOOLCHAIN_NEED_CONFIGSITE_CACHE:remove = "zlib ncurses"