[oe-commits] [openembedded-core] 20/30: glibc/gcc/libgcc-initial: Delete do_build tasks for -initial

git at git.openembedded.org git at git.openembedded.org
Thu Apr 6 11:40:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit fbd5ebf81698e4e30b62531de2495db04c189b44
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Apr 5 17:27:20 2017 +0100

    glibc/gcc/libgcc-initial: Delete do_build tasks for -initial
    
    We've had a lot of users running into RSS issues where -initial recipes
    were being installed into sysroots alongside their counterparts and
    causing overlapping files issues.
    
    In general this was through do_build dependencies. Such dependencies are
    bad in general and I'd encourage people to compare the taskgraphs with
    using a more specific dependency like do_populate_sysroot, do_image_complete
    or do_deploy as often the more specific dependency will result in a much
    cleaner build.
    
    Regardless, we don't want -initial dependencies getting in the way like
    this and there are cases a do_build dependency could make sense.
    
    Deleting the do_build task in these cases makes sense since this is not
    a build "endpoint" we'd ever want a user to use, its a behind the scenes
    piece of bootstrappping.
    
    Unfortunately to make this work, we need a newer bitbake version which
    has a bitbake bug fixed.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/glibc/glibc-initial.inc       | 3 +++
 meta/recipes-devtools/gcc/gcc-cross-initial.inc | 4 ++++
 meta/recipes-devtools/gcc/libgcc-initial.inc    | 3 +++
 3 files changed, 10 insertions(+)

diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc
index f94603c..b86e2fb 100644
--- a/meta/recipes-core/glibc/glibc-initial.inc
+++ b/meta/recipes-core/glibc/glibc-initial.inc
@@ -52,3 +52,6 @@ do_siteconfig () {
 }
 
 inherit nopackages
+
+# We really only want this built by things that need it, not any recrdeptask
+deltask do_build
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index 5c0208a..d440d88 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -82,3 +82,7 @@ do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_AR
 inherit nopackages
 
 COMPILERINITIAL = "-initial"
+
+
+# We really only want this built by things that need it, not any recrdeptask
+deltask do_build
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc
index 5b4bc3b..950ad86 100644
--- a/meta/recipes-devtools/gcc/libgcc-initial.inc
+++ b/meta/recipes-devtools/gcc/libgcc-initial.inc
@@ -15,3 +15,6 @@ EXTRA_OECONF += "--disable-shared"
 COMPILERINITIAL = "-initial"
 
 inherit nopackages
+
+# We really only want this built by things that need it, not any recrdeptask
+deltask do_build

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list