[oe-commits] Khem Raj : gcc-cross-kernel.inc: Install it in STAGING_BINDIR
git version control
git at git.openembedded.org
Mon Jan 24 09:09:28 UTC 2011
Module: openembedded.git
Branch: master
Commit: d10ef750c59ee954c11a8edd0e278f99dbf2816a
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d10ef750c59ee954c11a8edd0e278f99dbf2816a
Author: Khem Raj <raj.khem at gmail.com>
Date: Mon Jan 24 01:06:08 2011 -0800
gcc-cross-kernel.inc: Install it in STAGING_BINDIR
* After moving toolchains under native sysroot
gcc-cross-kernels stopped working becaue it could
not find the remaining gcc programs correctly.
${STAGING_DIR_NATIVE}${prefix_native}/bin/ is not
same as STAGING_BINDIR for cross recipes
* Fixed Bugzilla/5468
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/gcc/gcc-cross-kernel.inc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/gcc/gcc-cross-kernel.inc b/recipes/gcc/gcc-cross-kernel.inc
index 370ba78..6453f92 100644
--- a/recipes/gcc/gcc-cross-kernel.inc
+++ b/recipes/gcc/gcc-cross-kernel.inc
@@ -15,5 +15,6 @@ do_compile () {
do_install () {
cd gcc
oe_runmake 'DESTDIR=${D}' installdirs install-common install-headers install-libgcc
- install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV}
+ install -d ${D}${STAGING_BINDIR}
+ install -m 0755 xgcc ${D}${STAGING_BINDIR}/${TARGET_PREFIX}gcc-${PV}
}
More information about the Openembedded-commits
mailing list