diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-05 14:35:46 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-05 14:37:28 +0000 |
commit | f1bac68e1743423acee7393a5910236882ac789e (patch) | |
tree | 2b3c51256ec0135feb9d9c3198a6ee83aa864301 /meta | |
parent | 73b22007249f98c96c425ef8379762b425dc2d61 (diff) | |
download | openembedded-core-f1bac68e1743423acee7393a5910236882ac789e.tar.gz openembedded-core-f1bac68e1743423acee7393a5910236882ac789e.tar.bz2 openembedded-core-f1bac68e1743423acee7393a5910236882ac789e.tar.xz openembedded-core-f1bac68e1743423acee7393a5910236882ac789e.zip |
external-poky-toolchain: Add include and lib files to the staging sysroot removing the need to link against two trees at the same time
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/meta/external-poky-toolchain.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/packages/meta/external-poky-toolchain.bb b/meta/packages/meta/external-poky-toolchain.bb index 7b6fd1a08..acdf29c4a 100644 --- a/meta/packages/meta/external-poky-toolchain.bb +++ b/meta/packages/meta/external-poky-toolchain.bb @@ -25,9 +25,15 @@ do_stage() { install -d ${DEPLOY_DIR}/ipk/ install -d ${STAGING_DIR}/pkgdata/ install -d ${STAGING_DIR_TARGET}/shlibs/ + install -d ${STAGING_DIR_TARGET}/${layout_base_libdir}/ + install -d ${STAGING_DIR_TARGET}/${layout_libdir}/ + install -d ${STAGING_DIR_TARGET}/${layout_includedir}/ cp -ar ${prefix}/ipk/* ${DEPLOY_DIR}/ipk/ cp -ar ${prefix}/pkgdata/* ${STAGING_DIR}/pkgdata/ cp -ar ${prefix}/${TARGET_SYS}/shlibs/* ${STAGING_DIR_TARGET}/shlibs/ + cp -ar ${prefix}/${TARGET_SYS}/lib/* ${STAGING_DIR_TARGET}/${layout_base_libdir}/ + cp -ar ${prefix}/${TARGET_SYS}/usr/include/* ${STAGING_DIR_TARGET}/${layout_includedir}/ + cp -ar ${prefix}/${TARGET_SYS}/usr/lib/* ${STAGING_DIR_TARGET}/${layout_libdir}/ } |