diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-06-28 14:58:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-28 12:04:05 +0100 |
commit | c6d3242f7642f537b02870bb4eb650f0e2094b85 (patch) | |
tree | 7c34d9fcb0a7c41a9f9f5972471e7b1fac33c71d /meta/recipes-core/eglibc/eglibc_2.13.bb | |
parent | 3aec2fa2df9aaa883feda0d7aed85e63d01398b9 (diff) | |
download | openembedded-core-c6d3242f7642f537b02870bb4eb650f0e2094b85.tar.gz openembedded-core-c6d3242f7642f537b02870bb4eb650f0e2094b85.tar.bz2 openembedded-core-c6d3242f7642f537b02870bb4eb650f0e2094b85.tar.xz openembedded-core-c6d3242f7642f537b02870bb4eb650f0e2094b85.zip |
libc-locale: split locale handling from libc recipe.
*libc's do_package will cost a lot of time due to the locale handing,
which may delay the other recipe's do_package task and affect the build
performance.
This commit moves locale handling into a separate recipe *libc-locale.
[RP: Add fixup with recent eglibc commit conflict for FILES_pn-dbg and PACKAGES]
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc_2.13.bb')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.13.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb index 3490d2db9..603d9cdc6 100644 --- a/meta/recipes-core/eglibc/eglibc_2.13.bb +++ b/meta/recipes-core/eglibc/eglibc_2.13.bb @@ -110,6 +110,18 @@ do_compile () { ) } +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} + cp -fpPR ${WORKDIR}/SUPPORTED ${dest} +} + +addtask do_install_locale after do_install before do_populate_sysroot + require eglibc-package.inc BBCLASSEXTEND = "nativesdk" |