mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-05 05:04:44 +02:00

Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
#
|
|
# Picolibc configuration
|
|
#
|
|
|
|
LIBCEXTENSION = "-picolibc"
|
|
LIBCOVERRIDE = ":libc-picolibc"
|
|
|
|
PREFERRED_PROVIDER_virtual/libc ?= "picolibc"
|
|
PREFERRED_PROVIDER_virtual/libiconv ?= "picolibc"
|
|
PREFERRED_PROVIDER_virtual/libintl ?= "picolibc"
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc"
|
|
PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc"
|
|
|
|
DISTRO_FEATURES_BACKFILL_CONSIDERED += "ldconfig"
|
|
|
|
IMAGE_LINGUAS = ""
|
|
|
|
LIBC_DEPENDENCIES = " \
|
|
picolibc-dbg \
|
|
picolibc-dev \
|
|
libgcc-dev \
|
|
libgcc-dbg \
|
|
libstdc++-dev \
|
|
libstdc++-staticdev \
|
|
"
|
|
|
|
ASSUME_PROVIDED += "virtual/crypt"
|
|
|
|
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"
|
|
|
|
# RISCV linker doesnt support PIE
|
|
SECURITY_CFLAGS:libc-picolibc:qemuriscv32 = "${SECURITY_NOPIE_CFLAGS}"
|
|
SECURITY_CFLAGS:libc-picolibc:qemuriscv64 = "${SECURITY_NOPIE_CFLAGS}"
|
|
|