summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-12-05 14:35:46 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-12-05 14:37:28 +0000
commitf1bac68e1743423acee7393a5910236882ac789e (patch)
tree2b3c51256ec0135feb9d9c3198a6ee83aa864301 /meta/packages
parent73b22007249f98c96c425ef8379762b425dc2d61 (diff)
downloadpoky-f1bac68e1743423acee7393a5910236882ac789e.tar.gz
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/packages')
-rw-r--r--meta/packages/meta/external-poky-toolchain.bb6
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 7b6fd1a084..acdf29c4a8 100644
--- a/meta/packages/meta/external-poky-toolchain.bb
+++ b/meta/packages/meta/external-poky-toolchain.bb
@@ -25,9 +25,15 @@ do_stage() {
25 install -d ${DEPLOY_DIR}/ipk/ 25 install -d ${DEPLOY_DIR}/ipk/
26 install -d ${STAGING_DIR}/pkgdata/ 26 install -d ${STAGING_DIR}/pkgdata/
27 install -d ${STAGING_DIR_TARGET}/shlibs/ 27 install -d ${STAGING_DIR_TARGET}/shlibs/
28 install -d ${STAGING_DIR_TARGET}/${layout_base_libdir}/
29 install -d ${STAGING_DIR_TARGET}/${layout_libdir}/
30 install -d ${STAGING_DIR_TARGET}/${layout_includedir}/
28 31
29 cp -ar ${prefix}/ipk/* ${DEPLOY_DIR}/ipk/ 32 cp -ar ${prefix}/ipk/* ${DEPLOY_DIR}/ipk/
30 cp -ar ${prefix}/pkgdata/* ${STAGING_DIR}/pkgdata/ 33 cp -ar ${prefix}/pkgdata/* ${STAGING_DIR}/pkgdata/
31 cp -ar ${prefix}/${TARGET_SYS}/shlibs/* ${STAGING_DIR_TARGET}/shlibs/ 34 cp -ar ${prefix}/${TARGET_SYS}/shlibs/* ${STAGING_DIR_TARGET}/shlibs/
35 cp -ar ${prefix}/${TARGET_SYS}/lib/* ${STAGING_DIR_TARGET}/${layout_base_libdir}/
36 cp -ar ${prefix}/${TARGET_SYS}/usr/include/* ${STAGING_DIR_TARGET}/${layout_includedir}/
37 cp -ar ${prefix}/${TARGET_SYS}/usr/lib/* ${STAGING_DIR_TARGET}/${layout_libdir}/
32} 38}
33 39