mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Clean up remnants of glibc-initial
Remove remnants of the glibc-initial recipe. (From OE-Core rev: 332b1e21db3e0cbeeb14f12dd6aeedb89b76d761) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
aaa6e45a28
commit
1c115da446
@@ -197,7 +197,7 @@ def staging_populate_sysroot_dir(targetsysroot, nativesysroot, native, d):
|
||||
for pkgarch in pkgarchs:
|
||||
for manifest in glob.glob(d.expand("${SSTATE_MANIFESTS}/manifest-%s-*.populate_sysroot" % pkgarch)):
|
||||
if manifest.endswith("-initial.populate_sysroot"):
|
||||
# skip glibc-initial and libgcc-initial due to file overlap
|
||||
# skip libgcc-initial due to file overlap
|
||||
continue
|
||||
if not native and (manifest.endswith("-native.populate_sysroot") or "nativesdk-" in manifest):
|
||||
continue
|
||||
|
||||
@@ -215,7 +215,6 @@ RECIPE_MAINTAINER_pn-glew = "Anuj Mittal <anuj.mittal@intel.com>"
|
||||
RECIPE_MAINTAINER_pn-glib-2.0 = "Anuj Mittal <anuj.mittal@intel.com>"
|
||||
RECIPE_MAINTAINER_pn-glib-networking = "Anuj Mittal <anuj.mittal@intel.com>"
|
||||
RECIPE_MAINTAINER_pn-glibc = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-glibc-initial = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-glibc-locale = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-glibc-mtrace = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-glibc-scripts = "Khem Raj <raj.khem@gmail.com>"
|
||||
|
||||
@@ -36,7 +36,6 @@ SECURITY_CFLAGS_remove_powerpc = "${SECURITY_PIE_CFLAGS}"
|
||||
SECURITY_CFLAGS_pn-libgcc_powerpc = ""
|
||||
|
||||
SECURITY_CFLAGS_pn-glibc = ""
|
||||
SECURITY_CFLAGS_pn-glibc-initial = ""
|
||||
SECURITY_CFLAGS_pn-gcc-runtime = ""
|
||||
SECURITY_CFLAGS_pn-grub = ""
|
||||
SECURITY_CFLAGS_pn-grub-efi = ""
|
||||
@@ -60,7 +59,6 @@ TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}"
|
||||
|
||||
SECURITY_STACK_PROTECTOR_pn-gcc-runtime = ""
|
||||
SECURITY_STACK_PROTECTOR_pn-glibc = ""
|
||||
SECURITY_STACK_PROTECTOR_pn-glibc-initial = ""
|
||||
# All xorg module drivers need to be linked this way as well and are
|
||||
# handled in recipes-graphics/xorg-driver/xorg-driver-common.inc
|
||||
SECURITY_LDFLAGS_pn-xserver-xorg = "${SECURITY_X_LDFLAGS}"
|
||||
|
||||
@@ -14,8 +14,6 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}"
|
||||
PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime"
|
||||
|
||||
# Default libc config
|
||||
PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${TCLIBC}-initial"
|
||||
PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial ?= "nativesdk-glibc-initial"
|
||||
PREFERRED_PROVIDER_virtual/gettext ??= "gettext"
|
||||
|
||||
GCCVERSION ?= "9.%"
|
||||
@@ -62,8 +60,6 @@ PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}"
|
||||
PREFERRED_VERSION_glibc-mtrace ?= "${GLIBCVERSION}"
|
||||
PREFERRED_VERSION_glibc-scripts ?= "${GLIBCVERSION}"
|
||||
PREFERRED_VERSION_nativesdk-glibc ?= "${GLIBCVERSION}"
|
||||
PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}"
|
||||
PREFERRED_VERSION_nativesdk-glibc-initial ?= "${GLIBCVERSION}"
|
||||
PREFERRED_VERSION_cross-localedef-native ?= "${GLIBCVERSION}"
|
||||
|
||||
PREFERRED_VERSION_qemu ?= "${QEMUVERSION}"
|
||||
|
||||
@@ -88,14 +88,7 @@ do_install_append () {
|
||||
rm -f ${D}${sysconfdir}/ld.so.conf
|
||||
rm -f ${D}${base_sbindir}/ldconfig
|
||||
# This directory will be empty now so remove it too.
|
||||
# But check whether it exists first, since it won't for glibc-initial.
|
||||
if [ -d ${D}${sysconfdir} ]; then
|
||||
rmdir ${D}${sysconfdir}
|
||||
fi
|
||||
fi
|
||||
|
||||
if echo ${PN}|grep -q "glibc-initial"; then
|
||||
return
|
||||
rmdir ${D}${sysconfdir}
|
||||
fi
|
||||
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
|
||||
Reference in New Issue
Block a user