[yocto] Busybox configuration example?

Jack Mitchell ml at communistcode.co.uk
Thu Oct 17 08:58:47 PDT 2013


On 17/10/13 14:50, Gary Thomas wrote:
> I see mention of busybox configuration fragments in the mega
> manual (section 5.9.7) but no explanation nor examples.
> 
> 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?
> 
> Thanks
> 

If I remember correctly there is one in meta-skeleton.


-- 
  Jack Mitchell (jack at embed.me.uk)
  Embedded Systems Engineer
  Cambrideshire, UK
  http://www.embed.me.uk
-- 



More information about the yocto mailing list