summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-31 13:46:20 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-31 13:46:20 +0100
commitc155b71ba4c5b94d2f1d5df3798514fffde74f3c (patch)
tree7b9920eab1459e23ee00164eef7b16c9327afdd5
parent70abb2e3e8671b3d10c7db5a16e37d646014a4b6 (diff)
downloadopenembedded-core-c155b71ba4c5b94d2f1d5df3798514fffde74f3c.tar.gz
openembedded-core-c155b71ba4c5b94d2f1d5df3798514fffde74f3c.tar.bz2
openembedded-core-c155b71ba4c5b94d2f1d5df3798514fffde74f3c.tar.xz
openembedded-core-c155b71ba4c5b94d2f1d5df3798514fffde74f3c.zip
gcc-cross.inc: Move do_compile
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/gcc/gcc-cross.inc5
-rw-r--r--meta/packages/gcc/gcc-cross_4.3.3.bb4
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
-}