Patchwork [7/7] external-csl-toolchain: update for locale bits

login
register
mail settings
Submitter Christopher Larson
Date April 16, 2012, 8:44 p.m.
Message ID <542099b94f9c870235e57b0bf0e69201f756db59.1334608810.git.kergoth@gmail.com>
Download mbox | patch
Permalink /patch/25967/
State New
Headers show

Comments

Christopher Larson - April 16, 2012, 8:44 p.m.
- 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 <kergoth@gmail.com>
---
 meta/recipes-core/meta/external-csl-toolchain.bb |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

Patch

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