[oe-commits] Richard Purdie : gcc-shared-source: Set empty SRC_URI

git at git.openembedded.org git at git.openembedded.org
Wed Sep 23 21:46:28 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 8442604aef5ed5d79b1e14416a98444737dfe37c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8442604aef5ed5d79b1e14416a98444737dfe37c

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Wed Sep 23 22:33:17 2015 +0100

gcc-shared-source: Set empty SRC_URI

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 at linuxfoundation.org>

---

 meta/recipes-devtools/gcc/gcc-shared-source.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared-source.inc
index 9acffb1..aac4b49 100644
--- a/meta/recipes-devtools/gcc/gcc-shared-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc
@@ -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"



More information about the Openembedded-commits mailing list