[OE-core] [PATCH 1/1] gcc-shared-source: Fix devtool missing patch/unpack tasks
Tomasz Dziendzielski
tomasz.dziendzielski at gmail.com
Sat Jan 26 23:26:44 UTC 2019
Devtool needs to execute these tasks so we cannot disable them
but if SRC_URI is empty we don't need to disable them anymore.
Setting EXTERNALSRC so devshell can find the shared gcc sources.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13036
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski at gmail.com>
---
meta/recipes-devtools/gcc/gcc-shared-source.inc | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc
b/meta/recipes-devtools/gcc/gcc-shared-source.inc
index aac4b49313..bc49e95a3a 100644
--- a/meta/recipes-devtools/gcc/gcc-shared-source.inc
+++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc
@@ -1,11 +1,6 @@
-do_fetch() {
- :
-}
-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"
+
+EXTERNALSRC_pn-${PN} = "${S}"
--
2.20.1
More information about the Openembedded-core
mailing list