summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 22:33:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-24 17:52:47 +0100
commit0df9d45e0be59e55e585e6d25dedbf0fc55c490c (patch)
treebcb0d8d0fd0657fef0945bb2e811cd6f441223a9 /meta/recipes-devtools
parent603b2f3ef400ec66a6899a7b407cbfecd3da5910 (diff)
downloadopenembedded-core-0df9d45e0be59e55e585e6d25dedbf0fc55c490c.tar.gz
openembedded-core-0df9d45e0be59e55e585e6d25dedbf0fc55c490c.tar.bz2
openembedded-core-0df9d45e0be59e55e585e6d25dedbf0fc55c490c.zip
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@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-shared-source.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared-source.inc
index 9acffb1da7..aac4b49313 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"