From c155b71ba4c5b94d2f1d5df3798514fffde74f3c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Mar 2010 13:46:20 +0100 Subject: gcc-cross.inc: Move do_compile Signed-off-by: Richard Purdie --- meta/packages/gcc/gcc-cross.inc | 5 +++++ meta/packages/gcc/gcc-cross_4.3.3.bb | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/packages/gcc/gcc-cross.inc b/meta/packages/gcc/gcc-cross.inc index 44917f0dd..8f13a36a8 100644 --- a/meta/packages/gcc/gcc-cross.inc +++ b/meta/packages/gcc/gcc-cross.inc @@ -9,3 +9,8 @@ do_stage () { require gcc-configure-cross.inc require gcc-package-cross.inc + +do_compile () { + oe_runmake all-host +} + diff --git a/meta/packages/gcc/gcc-cross_4.3.3.bb b/meta/packages/gcc/gcc-cross_4.3.3.bb index 7e07fa977..dbb6352d4 100644 --- a/meta/packages/gcc/gcc-cross_4.3.3.bb +++ b/meta/packages/gcc/gcc-cross_4.3.3.bb @@ -8,7 +8,3 @@ SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 " EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native}" ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" - -do_compile () { - oe_runmake all-host -} -- cgit v1.2.3