From: Khem Raj Date: Mon, 24 Jan 2011 09:06:08 +0000 (-0800) Subject: gcc-cross-kernel.inc: Install it in STAGING_BINDIR X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d10ef750c59ee954c11a8edd0e278f99dbf2816a;p=openembedded.git 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 --- 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} }