[poky] BusyBox features not working
Gary Thomas
gary at mlbassoc.com
Tue Jul 12 05:48:30 PDT 2011
On 07/12/2011 05:40 AM, Gary Thomas wrote:
> Using the latest master, building for qemuarm with the default local.conf, I find that
> the various configurations set by DISTRO_FEATURES are not being propagated into the build
> of busybox. In particular, there is no networking support :-(
>
> $ grep IPV tmp/work/armv5te-poky-linux-gnueabi/busybox-1.18.4-r5/busybox-1.18.4/.config
> # CONFIG_FEATURE_IPV6 is not set
> # CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set
> # CONFIG_FEATURE_IFUPDOWN_IPV4 is not set
> # CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
>
> This is supposed to work because "ipv6" and "ipv4" are now in ${DISTRO_FEATURES_LIBC},
> but that doesn't seem to be reflected by the build.
>
> If I set this explicitly in my local.conf, e.g.
> DISTRO_FEATURES = "alsa ipv4 ${DISTRO_FEATURES_LIBC}"
> I then get the correct options built.
>
> I know that ${DISTRO_FEATURES_LIBC} is set (at least the default) as without it,
> my builds break horribly.
>
> Any ideas what's going on here?
>
Weird. I just ran through this, first with the default value for DISTRO_FEATURES,
then with the same value but 'ipv4' placed at the front of that list. If 'ipv4'
is somewhere in the middle, busybox is not configured correctly. If it's at the
front, it works properly.
A full log of these steps is attached.
What could possibly cause this behaviour?
Note: I printed the value of DISTRO_FEATURES by modifying base.bbclass. Is there
an easier way to see the value of such variables being used by the recipes? I gave
the bitbake manual a look, but didn't find any hints...
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bb.log
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110712/e147f12a/attachment.ksh>
More information about the poky
mailing list