[yocto] Problem building glibc-locale

Craig McQueen craig.mcqueen at innerrange.com
Thu May 25 20:16:11 PDT 2017


> 
> From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Burton, Ross
>
> 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

I'm having this issue, when trying to use a modification of the poky-tiny distro (currently using morty). Does the poky-tiny distro do the right thing?

-- 
Craig McQueen



More information about the yocto mailing list