diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-04-22 15:20:05 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-04-27 18:29:57 +0100 |
commit | c22ab5fc9fd0f18153e73f941f050539d415ff56 (patch) | |
tree | 0af352c233ff4524595e924ebb32f72c7a8828db /meta/classes/glibc-package.bbclass | |
parent | 00c5c9744220ed8a019ede55cdf2809b1d3b72a5 (diff) | |
download | openembedded-core-c22ab5fc9fd0f18153e73f941f050539d415ff56.tar.gz openembedded-core-c22ab5fc9fd0f18153e73f941f050539d415ff56.tar.bz2 openembedded-core-c22ab5fc9fd0f18153e73f941f050539d415ff56.tar.xz openembedded-core-c22ab5fc9fd0f18153e73f941f050539d415ff56.zip |
Install cross-packages into the native sysroot
Cross is no longer required so can go away, we now install cross packages into
the native sysroot and use them from there.
This patch includes updates to classes and some recipes which reference
CROSS_DIR. Others still need fixing an image can be built and run with this
patch applied.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes/glibc-package.bbclass')
-rw-r--r-- | meta/classes/glibc-package.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/glibc-package.bbclass b/meta/classes/glibc-package.bbclass index cef888c54..56bf8ba40 100644 --- a/meta/classes/glibc-package.bbclass +++ b/meta/classes/glibc-package.bbclass @@ -96,8 +96,8 @@ do_prep_locale_tree() { gunzip $i done cp -pPR ${PKGD}${base_libdir}/* $treedir/lib - if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* ]; then - cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.* $treedir/lib + if [ -f ${STAGING_DIR_NATIVE}${prefix_native}/lib/libgcc_s.* ]; then + cp -pPR ${STAGING_DIR_NATIVE}/${prefix_native}/lib/libgcc_s.* $treedir/lib fi install -m 0755 ${PKGD}${bindir}/localedef $treedir/bin } |