aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-package.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 16:41:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 16:41:49 +0100
commitb0dd8f5e71e33bdc2614133a7cbb21426ecee38d (patch)
treee4ccb78145841c1c9c8128cd7bb2c216b866d3bf /meta/recipes-core/eglibc/eglibc-package.inc
parent54940c388181ffb1483f1d056887fe9270510ff4 (diff)
downloadopenembedded-core-contrib-b0dd8f5e71e33bdc2614133a7cbb21426ecee38d.tar.gz
eglibc-package.bbclass: Fix unintended code changes
Commit 477ede7472db0bacd5daacb96e97f849d1be84ee accidentally reverted some code changes it shouldn't have done leading to continued eglibc packaging issues. This patch corrects that damage. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-package.inc')
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc18
1 files changed, 13 insertions, 5 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 8228484815..831835612e 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -90,13 +90,21 @@ inherit libc-common
do_install_locale () {
dest=${D}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}
- install -d ${dest} ${dest}${bindir}
- cp -fpPR ${D}${base_libdir} ${dest}${base_prefix}
- cp -fpPR ${D}${libdir} ${dest}${exec_prefix}
- cp -fpPR ${D}${datadir} ${dest}${exec_prefix}
- cp -fpPR ${D}${bindir}/localedef ${dest}${bindir}
+ install -d ${dest}${base_libdir} ${dest}${bindir} ${dest}${libdir} ${dest}${datadir}
+ cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir}
+ cp -fpP ${D}${bindir}/localedef ${dest}${bindir}
+ mv ${D}${libdir}/gconv ${dest}${libdir}
+ cp -fpPR ${D}${libdir}/* ${dest}${libdir}
+ mv ${D}${datadir}/i18n ${dest}${datadir}
+ cp -fpPR ${D}${datadir}/* ${dest}${datadir}
cp -fpPR ${WORKDIR}/SUPPORTED ${dest}
}
addtask do_install_locale after do_install before do_populate_sysroot
+PACKAGE_PREPROCESS_FUNCS += "eglibc_package_preprocess"
+
+eglibc_package_preprocess () {
+ rm -rf ${PKGD}/${includedir}/eglibc-locale-internal-${MULTIMACH_TARGET_SYS}
+}
+