mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
meta: Remove further uclibc remnants (inc. patches and site files)
Some of these are clearly dead, e.g. one binutils patch reverts the effects of the earlier one. This also removes the uclibc site files. We now have mechanisms to allow these to be extended from another layer should someone ever wish to do that. (From OE-Core rev: e01e7c543a559c8926d72159b5cd55db0c661434) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -41,7 +41,7 @@ def get_gcc_ppc_plt_settings(bb, d):
|
||||
return ""
|
||||
|
||||
def get_long_double_setting(bb, d):
|
||||
if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc', 'powerpc64' ] and d.getVar('TCLIBC') in [ 'uclibc', 'glibc' ]:
|
||||
if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc', 'powerpc64' ] and d.getVar('TCLIBC') in [ 'glibc' ]:
|
||||
return "--with-long-double-128"
|
||||
else:
|
||||
return "--without-long-double-128"
|
||||
|
||||
@@ -101,8 +101,8 @@ do_install_append_class-target () {
|
||||
|
||||
if [ "${TCLIBC}" != "glibc" ]; then
|
||||
case "${TARGET_OS}" in
|
||||
"linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";;
|
||||
"linux-musleabi" | "linux-uclibceabi") extra_target_os="linux-gnueabi";;
|
||||
"linux-musl" | "linux-*spe") extra_target_os="linux";;
|
||||
"linux-musleabi") extra_target_os="linux-gnueabi";;
|
||||
*) extra_target_os="linux";;
|
||||
esac
|
||||
ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-$extra_target_os
|
||||
|
||||
@@ -5,8 +5,8 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
|
||||
do_install_append_class-target () {
|
||||
if [ "${TCLIBC}" != "glibc" ]; then
|
||||
case "${TARGET_OS}" in
|
||||
"linux-musl" | "linux-uclibc" | "linux-*spe") extra_target_os="linux";;
|
||||
"linux-musleabi" | "linux-uclibceabi") extra_target_os="linux-gnueabi";;
|
||||
"linux-musl" | "linux-*spe") extra_target_os="linux";;
|
||||
"linux-musleabi") extra_target_os="linux-gnueabi";;
|
||||
*) extra_target_os="linux";;
|
||||
esac
|
||||
ln -s ${TARGET_SYS} ${D}${libdir}/${TARGET_ARCH}${TARGET_VENDOR}-$extra_target_os
|
||||
|
||||
Reference in New Issue
Block a user