diff options
Diffstat (limited to 'recipes')
-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} } |