[oe-commits] Ross Burton : gcc: stub do_fetch instead of removing it
git at git.openembedded.org
git at git.openembedded.org
Fri Dec 5 18:02:01 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 8e68ebbddc2bc41eb6cb607c51d6a80c54c4199d
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8e68ebbddc2bc41eb6cb607c51d6a80c54c4199d
Author: Ross Burton <ross.burton at intel.com>
Date: Thu Dec 4 15:13:25 2014 +0000
gcc: stub do_fetch instead of removing it
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 | 5 ++++-
1 file changed, 4 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..cb5d907 100644
--- a/meta/recipes-devtools/gcc/gcc-shared-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc
@@ -1,4 +1,7 @@
-deltask do_fetch
+do_fetch() {
+ :
+}
+do_fetch[noexec] = "1"
deltask do_unpack
deltask do_patch
More information about the Openembedded-commits
mailing list