mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
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
(From OE-Core rev: 9efcde387b31335d16394ce6b30e4abb1525185f)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
48 lines
1.2 KiB
PHP
48 lines
1.2 KiB
PHP
#
|
|
# Newlib configuration
|
|
#
|
|
|
|
LIBCEXTENSION = "-newlib"
|
|
LIBCOVERRIDE = ":libc-newlib"
|
|
|
|
PREFERRED_PROVIDER_virtual/libc ?= "newlib"
|
|
PREFERRED_PROVIDER_virtual/libiconv ?= "newlib"
|
|
PREFERRED_PROVIDER_virtual/libintl ?= "newlib"
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
|
|
|
|
DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
|
|
|
|
#USE_NLS ?= "no"
|
|
|
|
IMAGE_LINGUAS = ""
|
|
|
|
LIBC_DEPENDENCIES = "\
|
|
newlib-dbg \
|
|
newlib-dev \
|
|
libgloss \
|
|
libgloss-dev \
|
|
libgloss-dbg \
|
|
libgcc-dev \
|
|
libgcc-dbg \
|
|
libstdc++-dev \
|
|
libstdc++-staticdev \
|
|
"
|
|
|
|
ASSUME_PROVIDED += "virtual/crypt"
|
|
|
|
# Its useful to be able to extend newlib, but we dont provide a native variant of libgloss
|
|
NEWLIB_EXTENDED ?= "libgloss libgcc"
|
|
BASE_DEFAULT_DEPS:append:class-target = " ${NEWLIB_EXTENDED}"
|
|
|
|
TARGET_OS = "elf"
|
|
TARGET_OS:arm = "eabi"
|
|
|
|
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"
|
|
|
|
# disable pie security flags by default
|
|
SECURITY_CFLAGS:libc-newlib = "${SECURITY_NOPIE_CFLAGS}"
|
|
SECURITY_LDFLAGS:libc-newlib = ""
|