From 42c2ec133bb038f3e06bcaa4e7c8f03008b37700 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 8 Nov 2012 22:02:14 -0700 Subject: [PATCH] external-sourcery-toolchain: kill ${exec_prefix}/lib/locale in do_install_locale As do_install_locale already copied these into the sysroot to be picked up by eglibc-locale, there's no reason to keep the files around for ourselves. Note: this should go into the oe-core eglibc-package.inc. Signed-off-by: Christopher Larson --- recipes/meta/external-sourcery-toolchain.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes/meta/external-sourcery-toolchain.bb b/recipes/meta/external-sourcery-toolchain.bb index 8625eda..5e9d4fd 100644 --- a/recipes/meta/external-sourcery-toolchain.bb +++ b/recipes/meta/external-sourcery-toolchain.bb @@ -22,7 +22,7 @@ PROVIDES = "\ libgcc \ " PV = "${CSL_VER_MAIN}" -PR = "r17" +PR = "r18" #SRC_URI = "http://www.codesourcery.com/public/gnu_toolchain/${CSL_TARGET_SYS}/arm-${PV}-${TARGET_PREFIX}i686-pc-linux-gnu.tar.bz2" @@ -78,6 +78,12 @@ do_install() { create_multilib_link ${D} } +# These files are picked up out of the sysroot by eglibc-locale, so we don't +# need to keep them around ourselves. +do_install_locale_append() { + rm -fr ${D}${exec_prefix}/lib/locale +} + def sysroot_multilib_suffix(d): PATH = d.getVar('PATH', True) cmd = '${CC} -print-sysroot | sed -e "s,^${STAGING_DIR_HOST},,; s,^/,,"'