summaryrefslogtreecommitdiff
path: root/meta/packages/gcc
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-23 18:03:09 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-23 18:03:09 +0100
commitab82312433f8a7eacd6ee90d3bc9e5153282ec3f (patch)
tree667a7939b496acd43a27ec93abdf12ab1e9811af /meta/packages/gcc
parent23f94ad59d898938a75a1f3e18a1014e6a1ec8e7 (diff)
downloadopenembedded-core-ab82312433f8a7eacd6ee90d3bc9e5153282ec3f.tar.gz
openembedded-core-ab82312433f8a7eacd6ee90d3bc9e5153282ec3f.tar.bz2
openembedded-core-ab82312433f8a7eacd6ee90d3bc9e5153282ec3f.zip
gcc-cross-intermediate.inc: Make sure libgcc goes into the target sysroot
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/gcc')
-rw-r--r--meta/packages/gcc/gcc-cross-intermediate.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-intermediate.inc b/meta/packages/gcc/gcc-cross-intermediate.inc
index ac1b502ae5..bab9d4a224 100644
--- a/meta/packages/gcc/gcc-cross-intermediate.inc
+++ b/meta/packages/gcc/gcc-cross-intermediate.inc
@@ -23,4 +23,6 @@ do_compile () {
do_install () {
oe_runmake 'DESTDIR=${D}' install
+ install -d ${D}${target_base_libdir}/
+ mv ${D}${exec_prefix}/${TARGET_SYS}/lib/* ${D}${target_base_libdir}/
}