summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-01-24 01:06:08 -0800
committerKhem Raj <raj.khem@gmail.com>2011-01-24 01:09:04 -0800
commitd10ef750c59ee954c11a8edd0e278f99dbf2816a (patch)
treee59e1c114191ecca25d3474073717b5e7335e033
parent1fec4ff6b595dccd2ecd23402bf147442dd22876 (diff)
downloadopenembedded-d10ef750c59ee954c11a8edd0e278f99dbf2816a.tar.gz
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@gmail.com>
-rw-r--r--recipes/gcc/gcc-cross-kernel.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gcc/gcc-cross-kernel.inc b/recipes/gcc/gcc-cross-kernel.inc
index 370ba781dc..6453f923da 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}
}