[yocto] Problem building glibc-locale

Burton, Ross ross.burton at intel.com
Fri Feb 3 15:14:56 PST 2017


So you did:

echo "DISTRO_FEATURES += \"usbhost\"" >> conf/local.conf

But poky.conf does:

DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}
${POKY_DEFAULT_DISTRO_FEATURES}"

Which means that the final value of DISTRO_FEATURES is "usbhost", so none
of the locale support is enabled, and glibc packages badly.

If you just want to add a feature, use DISTRO_FEATURES_append = " usbhost"
(leading whitespace in the string is critical).  Note that usbhost is a
default distro feature:

meta/conf/distro/include/default-distrovars.inc:DISTRO_FEATURES_DEFAULT ?=
"acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi
xattr nfs zeroconf pci 3g nfc x11"

So you don't need to specify it unless you are defining a distribution from
scratch.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170203/035e4c85/attachment.html>


More information about the yocto mailing list