]> code.ossystems Code Review - openembedded-core.git/commit
linux-yocto: make KBRANCH the exception and not the rule
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 5 Jul 2012 18:22:53 +0000 (14:22 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Aug 2012 09:32:46 +0000 (10:32 +0100)
commit3cac3ce65abae9dc253641a2004440a2b38fd44d
tree0fe6a865043dc3f58efc26288a5cc719631425e2
parentbd05dcb634cbb4022b4189985585f73c86f01fae
linux-yocto: make KBRANCH the exception and not the rule

The kernel branch is no longer required by the yocto-kern-tools
to locate BSP feature descriptions (it is the MACHINE:KTYPE
descriptor), so we no longer require that the BSP branch be
explicitly set.

If a kernel branch is explicitly set, it is now used to trigger
a checks to ensure that the branch really is being built.
Otherwise the branch that the machine description creates will
be built (just as it always was).

This further simplies the use and configuration of a linux-yocto
based kernel recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel-yocto.bbclass
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb