[OE-core] [PATCH 1/2] gcc: stub do_fetch instead of removing it

Ross Burton ross.burton at intel.com
Thu Dec 4 15:22:13 UTC 2014


Whilst gcc doesn't have any source to fetch, it still needs a fetch task so that
a world fetch can run without errors.  So instead of deleting the fetch task,
stub it.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/gcc/gcc-shared-source.inc |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared-source.inc
index ec30865..2340440 100644
--- a/meta/recipes-devtools/gcc/gcc-shared-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc
@@ -1,4 +1,6 @@
-deltask do_fetch
+do_fetch() {
+	:
+}
 deltask do_unpack
 deltask do_patch
 
-- 
1.7.10.4



More information about the Openembedded-core mailing list