Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] layer.conf: Correct gcc-cross dependency
@ 2015-11-16  9:08 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-11-16  9:08 UTC (permalink / raw)
  To: openembedded-core

The dependency listed in layer.conf is incorrect, gcc-cross DEPENDS
on ${TARGET_PREFIX}libc-for-gcc, not virtual/libc. These happen to
resolve the same values however they may not always both be built.

The result of this was that gcc-cross gets a different task hash
depending on whether virtual/libc was included in the build.
Specifically "bitbake m4" and "bitbake virtual/kernel" would result
in different task checksums.

The fix is to use the correct dependency name.

[YOCTO #8692]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 9773632..82d9c41 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -41,7 +41,7 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \
 "
 
 SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
-  gcc-cross-${TARGET_ARCH}->virtual/libc \
+  gcc-cross-${TARGET_ARCH}->virtual/${TARGET_PREFIX}libc-for-gcc \
   gcc-cross-${TARGET_ARCH}->linux-libc-headers \
   ppp-dialin->ppp \
   resolvconf->bash \




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-16  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16  9:08 [PATCH] layer.conf: Correct gcc-cross dependency Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox