diff options
author | Alejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com> | 2018-05-07 14:50:14 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-08 16:14:14 +0100 |
commit | 27dca7d2e955370166042c05aef1524fe1fbc70b (patch) | |
tree | 56ebcb483559afb1134065a50ccca460cec16d38 /meta/conf | |
parent | 69942186ed25c6cf46b80da8adb45026ed523948 (diff) | |
download | poky-27dca7d2e955370166042c05aef1524fe1fbc70b.tar.gz |
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.
(From OE-Core rev: 26a93d2bf7504bf5f3adb085ed2882ae1b1a3701)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/tclibc-baremetal.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/distro/include/tclibc-baremetal.inc b/meta/conf/distro/include/tclibc-baremetal.inc index a8ce6d3ac2..8d570f03f1 100644 --- a/meta/conf/distro/include/tclibc-baremetal.inc +++ b/meta/conf/distro/include/tclibc-baremetal.inc | |||
@@ -8,7 +8,7 @@ LIBCEXTENSION = "" | |||
8 | LIBCOVERRIDE = ":libc-baremetal" | 8 | LIBCOVERRIDE = ":libc-baremetal" |
9 | OVERRIDES .= "${LIBCOVERRIDE}" | 9 | OVERRIDES .= "${LIBCOVERRIDE}" |
10 | 10 | ||
11 | ASSUME_PROVIDED += "virtual/libc virtual/libiconv" | 11 | ASSUME_PROVIDED += "virtual/libc virtual/libiconv virtual/crypt" |
12 | 12 | ||
13 | PREFERRED_PROVIDER_virtual/libc ?= "musl" | 13 | PREFERRED_PROVIDER_virtual/libc ?= "musl" |
14 | PREFERRED_PROVIDER_virtual/libiconv ?= "musl" | 14 | PREFERRED_PROVIDER_virtual/libiconv ?= "musl" |