[oe-commits] [openembedded-core] branch master-next updated: tclibc-baremetal: Adds virtual/crypt to ASSUME_PROVIDED

git at git.openembedded.org git at git.openembedded.org
Mon May 7 22:50:55 UTC 2018


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

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

The following commit(s) were added to refs/heads/master-next by this push:
     new 8360531  tclibc-baremetal: Adds virtual/crypt to ASSUME_PROVIDED
8360531 is described below

commit 8360531652754366d99c5be4682770aae6dde90e
Author: Alejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego at xilinx.com>
AuthorDate: Mon May 7 14:50:14 2018 -0700

    tclibc-baremetal: Adds virtual/crypt to ASSUME_PROVIDED
    
    When trying to build meta-toolchain using TCLIBC = "baremetal"
    bitbake throws an error due to a mising dependency:
    
    ERROR: Nothing PROVIDES 'virtual/crypt'
    
    glibc PROVIDES virtual/crypt but was skipped:
    PREFERRED_PROVIDER_virtual/libc set to musl, not glibc
    musl PROVIDES virtual/crypt but was skipped:
    PREFERRED_PROVIDER_virtual/i586-poky-elf-libc-for-gcc set to baremetal,
    not musl
    libxcrypt PROVIDES virtual/crypt but was skipped: Recipe only applies in
    nativesdk case for now
    
    This is caused by the changes on commit:
    29f65bda6d2c9fea4adb125c4857ee64f9312b9f
    nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead
    
    This is where the concept of virtual/crypt was introduced.
    
    This patch adds virtual/crypt to ASSUME_PROVIDED on tclibc-baremetal,
    providing the missing wiring to build meta-toolchain on baremetal
    correctly.
    
    Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr at xilinx.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/distro/include/tclibc-baremetal.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc
index a8ce6d3..8d570f0 100644
--- a/meta/conf/distro/include/tclibc-baremetal.inc
+++ b/meta/conf/distro/include/tclibc-baremetal.inc
@@ -8,7 +8,7 @@ LIBCEXTENSION = ""
 LIBCOVERRIDE = ":libc-baremetal"
 OVERRIDES .= "${LIBCOVERRIDE}"
 
-ASSUME_PROVIDED += "virtual/libc virtual/libiconv"
+ASSUME_PROVIDED += "virtual/libc virtual/libiconv virtual/crypt"
 
 PREFERRED_PROVIDER_virtual/libc ?= "musl"
 PREFERRED_PROVIDER_virtual/libiconv ?= "musl"

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


More information about the Openembedded-commits mailing list