diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-23 22:33:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-24 17:54:31 +0100 |
commit | ce7bc121c561eaab79440f02fe6ee4e9f0d02aad (patch) | |
tree | b74ff613a8f878b43f05b3ee8b1c0e6535c731bb /meta | |
parent | 47ef2015a4cc0403f32e5d24e6c10491fda6180b (diff) | |
download | poky-ce7bc121c561eaab79440f02fe6ee4e9f0d02aad.tar.gz |
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.
(From OE-Core rev: 0df9d45e0be59e55e585e6d25dedbf0fc55c490c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-shared-source.inc | 2 |
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" | |||
5 | deltask do_unpack | 5 | deltask do_unpack |
6 | deltask do_patch | 6 | deltask do_patch |
7 | 7 | ||
8 | SRC_URI = "" | ||
9 | |||
8 | do_configure[depends] += "gcc-source-${PV}:do_preconfigure" | 10 | do_configure[depends] += "gcc-source-${PV}:do_preconfigure" |
9 | do_populate_lic[depends] += "gcc-source-${PV}:do_unpack" | 11 | do_populate_lic[depends] += "gcc-source-${PV}:do_unpack" |