* 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>
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}
}