On Wed, 2011-12-28 at 00:36 +0000, McClintock Matthew-B29882 wrote: > (This probably belongs somewhere inline but I got lost on the long email) > > A lot of times users would already have a git tree containing linux > and/or u-boot already working for their boards. Perhaps you could let > the user point at external linux and/or u-boot trees with defconfigs, > u-boot configs, device trees, etc for their target BSP? >
Yes, definitely, I think that makes sense and should be easily doable using the templating mechanism e.g. using the 'choicelist' input method the user could be presented with a choice of kernel recipes to use similarly to how xserver-choice is defined in the examples. Choosing for example the Yocto 3.0 kernel would select what's already been described, but additional choices could select alternate kernels and allow the user to point those recipes at specific git repos or tarballs, attach defconfigs, .dts files or whatever to those kernels' SRC_URIs. There would need to be a way for the user to specify the files to include, etc, but that could also be easily done by adding some python code for that purpose (or maybe that's already covered by the code that adds patches to a SRC_URI). In any case, I haven't thought about all the details yet but I think the problem can be generalized even further and those details will come out in the implementation. But as a general answer to your question, I think that yes, it is possible and desirable, and I'll at least try to have a simple example of it implemented in the first pass. Tom > -M > > On Mon, Dec 19, 2011 at 10:55 AM, Tom Zanussi <tom.zanu...@intel.com> wrote: > > Hi, > > > > This is what I hope to implement in the M2 timeframe. > > > > Any and all comments welcome... > > > > Thanks, > > > > Tom > > > > --- > > [snip] _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto