[oe-commits] Bruce Ashfield : linux-yocto: streamline support for multiple upstream repo types

git at git.openembedded.org git at git.openembedded.org
Tue May 8 15:14:09 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 06e5f45c8f38925cd5902a3a3f436f5e9451dd16
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=06e5f45c8f38925cd5902a3a3f436f5e9451dd16

Author: Bruce Ashfield <bruce.ashfield at windriver.com>
Date:   Thu Mar 22 16:00:08 2012 -0400

linux-yocto: streamline support for multiple upstream repo types

In order to support repositories of various types (with or without
meta data, branched, pristine, custom, etc) information about the
type of processing that is required was passed to the processing
phases via variables.

The combination of variables involved in coordinating the processing
creates a learning curve and overly complicates recipe extensions.

With minor tweaks to the kern-tools, adding flexibility and keying
off the existence of the meta branch it is possible to remove all
of the variables that were added to support different repository
types.

Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>

---

 meta/classes/kernel-yocto.bbclass                  |  115 ++++++++++----------
 .../kern-tools/kern-tools-native_git.bb            |    2 +-
 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb    |    1 +
 meta/recipes-kernel/linux/linux-yocto-rt_3.2.bb    |    2 +
 meta/recipes-kernel/linux/linux-yocto.inc          |    7 +-
 meta/recipes-kernel/linux/linux-yocto_2.6.37.bb    |    2 +
 meta/recipes-kernel/linux/linux-yocto_3.0.bb       |   23 +++--
 meta/recipes-kernel/linux/linux-yocto_3.2.bb       |    2 +
 8 files changed, 86 insertions(+), 68 deletions(-)

Diff:   http://git.openembedded.org/?p=openembedded-core.git/?a=commitdiff;h=06e5f45c8f38925cd5902a3a3f436f5e9451dd16




More information about the Openembedded-commits mailing list