From patchwork Mon Apr 16 20:44:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [7/7] external-csl-toolchain: update for locale bits Date: Mon, 16 Apr 2012 20:44:04 -0000 From: Christopher Larson X-Patchwork-Id: 25967 Message-Id: <542099b94f9c870235e57b0bf0e69201f756db59.1334608810.git.kergoth@gmail.com> To: openembedded-core@lists.openembedded.org - drop SUPPORTED, as it's only used for locale generation, and we now use the precompiled locale files from the external toolchain - stop rm -r'ing locale files from do_install_locale, as it's not needed Signed-off-by: Christopher Larson --- meta/recipes-core/meta/external-csl-toolchain.bb | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb index 8798541..6ddabf7 100644 --- a/meta/recipes-core/meta/external-csl-toolchain.bb +++ b/meta/recipes-core/meta/external-csl-toolchain.bb @@ -24,12 +24,10 @@ PROVIDES += "\ virtual/linux-libc-headers \ " PV = "${CSL_VER_MAIN}" -PR = "r4" +PR = "r5" #SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/${CSL_TARGET_SYS}/arm-${PV}-${TARGET_PREFIX}i686-pc-linux-gnu.tar.bz2" -SRC_URI = "file://SUPPORTED" - do_install() { # Use optimized files if available sysroot="${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}/libc" @@ -74,10 +72,6 @@ do_install() { sed -i -e "s# ${base_libdir}# ../..${base_libdir}#g" -e "s# ${libdir}# .#g" ${D}${libdir}/libpthread.so } -do_install_locale_append () { - rm -r ${D}${datadir}/locale ${D}${libdir}/locale -} - SYSROOT_PREPROCESS_FUNCS += "external_toolchain_sysroot_adjust" external_toolchain_sysroot_adjust() { if [ -n "${CSL_TARGET_CORE}" ]; then