]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: stub do_fetch instead of removing it
authorRoss Burton <ross.burton@intel.com>
Thu, 4 Dec 2014 15:13:25 +0000 (15:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Jan 2015 14:13:08 +0000 (14:13 +0000)
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.

(From OE-Core rev: 8e68ebbddc2bc41eb6cb607c51d6a80c54c4199d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/gcc/gcc-shared-source.inc

index ec30865c6abea5fda62c4e7c1d450383138de2dc..cb5d9071b6726cf5ee74ae67bd71aaed9ec675fb 100644 (file)
@@ -1,4 +1,7 @@
-deltask do_fetch
+do_fetch() {
+       :
+}
+do_fetch[noexec] = "1"
 deltask do_unpack
 deltask do_patch