mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
classes, conf: Exclude native and nativesdk recipes from libc specific override
Based on suggestions from RP libc-uclibc and libc-glibc overrides are for denoting system C library in use on the target and not for the host therefore we make sure that the override only takes effect for target recipes only. (From OE-Core rev: 6e2b53f47da0e97271fb51b281d24da1e1d549cc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
LIBCEXTENSION = "${@['', '-gnu'][(d.getVar('ABIEXTENSION', True) or '') != '']}"
|
||||
|
||||
# Add glibc overrides to the overrides for eglibc.
|
||||
OVERRIDES .= ":libc-glibc"
|
||||
LIBCOVERRIDE = ":libc-glibc"
|
||||
OVERRIDES .= "${LIBCOVERRIDE}"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/libiconv ?= "eglibc"
|
||||
PREFERRED_PROVIDER_virtual/libiconv-nativesdk ?= "eglibc-nativesdk"
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
LIBCEXTENSION = "-uclibc"
|
||||
|
||||
# Add uclibc overrides to the overrides.
|
||||
OVERRIDES =. "libc-uclibc:"
|
||||
LIBCOVERRIDE = ":libc-uclibc"
|
||||
OVERRIDES .= "${LIBCOVERRIDE}"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/libc = "uclibc"
|
||||
PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv"
|
||||
|
||||
Reference in New Issue
Block a user