]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: streamline BSP bootstrapping
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 9 Feb 2011 02:46:45 +0000 (21:46 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Feb 2011 11:11:07 +0000 (11:11 +0000)
commit9ce72c28bb1e85062cde227bc0c71962286a4d44
tree13a8e83e8c0a012e5c43f9bde3be44b57f0c1636
parent3150c5a0c210da6bce9ccd3d1a110a4d7058166d
linux-yocto: streamline BSP bootstrapping

In order to build BSPs that were not already integrated into
the upstream linux yocto kernel AND keep the git fetcher happy,
some fairly complex anonymous python sections were required.

These sections cause problems with variable expansion and SRCREV
processing.

With the updated git fetcher code, we can streamline the BSP
boostrapping process and drop 99% of the anonymous python code.

This commit has the following changes to support BSP boot strapping
and simplication for existing BSPs.

   - KMETA is set per-recipe rather than in python code
   - undefined machines are no longer used, but instead common
     branch names are set per-recipe
   - fallback machine SRCREVs are present in the default revisions
     file
   - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in
     the local.conf for new BSPs instead of being programatically
     determined in the anonymous python.
   - No more explicity KMACHINE variable expansion and manipulation,
     since the tools and build phases no longer require it due
     to the per-recipe fallbacks.

Integrated/merged BSPs are unaffected by the changes and have been
regression tested.

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

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/classes/kernel-yocto.bbclass
meta/conf/distro/include/poky-default-revisions.inc
meta/recipes-kernel/linux/linux-yocto-stable_git.bb
meta/recipes-kernel/linux/linux-yocto.inc
meta/recipes-kernel/linux/linux-yocto_git.bb