diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-01-24 01:06:08 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-01-24 01:09:04 -0800 |
commit | d10ef750c59ee954c11a8edd0e278f99dbf2816a (patch) | |
tree | e59e1c114191ecca25d3474073717b5e7335e033 /recipes/gcc | |
parent | 1fec4ff6b595dccd2ecd23402bf147442dd22876 (diff) | |
download | openembedded-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>
Diffstat (limited to 'recipes/gcc')
-rw-r--r-- | 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 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} } |