mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-04 06:54:36 +02:00
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:
@@ -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,^/,,"'
|
||||
|
||||
Reference in New Issue
Block a user