diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-05 17:27:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-10 23:00:43 +0100 |
commit | 75001927cdde5dfb0e78ee2cdf1754e9372c0697 (patch) | |
tree | 081e8cac23042fa2b955f020c3afffcfd9482e67 | |
parent | 66bd8b82472ee6dc91a715ac91410dc5a826f2a3 (diff) | |
download | poky-75001927cdde5dfb0e78ee2cdf1754e9372c0697.tar.gz |
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.
(From OE-Core rev: 04c053d42ab05f77b2d1ca93a0fabae44073d57e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/glibc/glibc-initial.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-initial.inc | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc index f94603c28c..b86e2fb2db 100644 --- a/meta/recipes-core/glibc/glibc-initial.inc +++ b/meta/recipes-core/glibc/glibc-initial.inc | |||
@@ -52,3 +52,6 @@ do_siteconfig () { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | inherit nopackages | 54 | inherit nopackages |
55 | |||
56 | # We really only want this built by things that need it, not any recrdeptask | ||
57 | deltask do_build | ||
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index 5c0208a3fa..d440d88e53 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 | |||
82 | inherit nopackages | 82 | inherit nopackages |
83 | 83 | ||
84 | COMPILERINITIAL = "-initial" | 84 | COMPILERINITIAL = "-initial" |
85 | |||
86 | |||
87 | # We really only want this built by things that need it, not any recrdeptask | ||
88 | deltask do_build | ||
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc index 5b4bc3b5a9..950ad861e7 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" | |||
15 | COMPILERINITIAL = "-initial" | 15 | COMPILERINITIAL = "-initial" |
16 | 16 | ||
17 | inherit nopackages | 17 | inherit nopackages |
18 | |||
19 | # We really only want this built by things that need it, not any recrdeptask | ||
20 | deltask do_build | ||