On Wed, Aug 1, 2012 at 4:05 PM, Mark Hatle <[email protected]> wrote: > On 8/1/12 1:59 PM, McClintock Matthew-B29882 wrote: >> This is one approach, to change busybox completely for a specific >> added layer. But, what if we only want to make this change to busybox >> if the lxc recipe is included in the image? What about other packages >> also requesting changes? > > There is no method within OE to change a configuration of one item, if > another item is included or not. > > The way to do this is use the PACKAGECONFIG options, and then pass via a > per-recipe configuration if you want lxc support enabled or not.. (or > possible lxc becomes a distro flag?)
For lxc specific case I think we can just have a recipe that sets the busybox' static option. It seems to be the only difference we'd have for it. Having compile options changing by other packages is going to be a mess since we'll not know what to expect of build options of the application/library (in this case busybox). -- Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
