]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-shared-source: Set empty SRC_URI
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Sep 2015 21:33:17 +0000 (22:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Sep 2015 16:52:47 +0000 (17:52 +0100)
gcc-source is the only gcc recipe meant to handle the fetch/unpack/patch
tasks, the other gcc recipes then depend on this.

This approach has been creating some confusion for tools like the archiver.
The simplest way to signal to these processes that there is no source
is to empty SRC_URI at the same time we disable the other tasks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-shared-source.inc

index 9acffb1da77ff191e5062ba3d7981a3ee447dede..aac4b49313cb3b85f765750431eb40f21e2440d1 100644 (file)
@@ -5,5 +5,7 @@ do_fetch[noexec] = "1"
 deltask do_unpack
 deltask do_patch
 
+SRC_URI = ""
+
 do_configure[depends] += "gcc-source-${PV}:do_preconfigure"
 do_populate_lic[depends] += "gcc-source-${PV}:do_unpack"