From f1bac68e1743423acee7393a5910236882ac789e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 5 Dec 2008 14:35:46 +0000 Subject: external-poky-toolchain: Add include and lib files to the staging sysroot removing the need to link against two trees at the same time --- meta/packages/meta/external-poky-toolchain.bb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meta/packages') 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() { 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}/ } -- cgit v1.2.3