[yocto] Busybox configuration example?

Nicolas Dechesne nicolas.dechesne at linaro.org
Thu Oct 17 12:49:25 PDT 2013


On Thu, Oct 17, 2013 at 3:50 PM, Gary Thomas <gary at mlbassoc.com> wrote:
> Can someone explain how I might control my busybox builds?
> For example, I routinely add this to busybox*.bbappend:
>
>   #
>   # Force 'ifup' to wait longer for really slow links...
>   #
>   do_prepare_config_append () {
>     sed -i 's/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R
> -n"/CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n -T 1 -t 20"/' ${S}/.config
>   }
>
> which is just editing the confguration file to match my preferences.
> Is there a way to do this using the "configuration fragments" mentioned
> above?

here is an example of busybox config fragment, that we use

https://git.linaro.org/gitweb?p=openembedded/meta-linaro.git;a=tree;f=meta-linaro/recipes-core/busybox;h=2c4a6b6b8b542b2eef04561d95a802d855ae7573;hb=master

i don't know if the config fragment would work for what you are
doing.. let us know ;-)



More information about the yocto mailing list