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 <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2012-11-08 22:02:14 -07:00
parent 1c269847c4
commit 42c2ec133b

View File

@@ -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,^/,,"'