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 3bfd0a44ec
commit a22a3fe0bb

View File

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