]> code.ossystems Code Review - openembedded-core.git/commit
linux-wrs: implement BSP bootstrapping via fallback branches
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 11 Nov 2010 06:23:38 +0000 (01:23 -0500)
committerSaul Wold <sgw@linux.intel.com>
Mon, 15 Nov 2010 05:08:28 +0000 (21:08 -0800)
commit9aaa15c8edf8100da452f989f4eaa10406e5a28e
tree65fb34b4724ad79e472f7bfd7f0e7294799aff3b
parent0ec9475c6f37015e55735e41bb664476917afb65
linux-wrs: implement BSP bootstrapping via fallback branches

When creating a new BSP there isn't always an upstream branch
to validate SRCREVs against. Therefore, creating a new BSP
required extra manipulations of the git repository, even though
the branch for the build would be dynamically created.

To fix this, provide a fallback to the 'standard' branch if
WRMACHINE is not assigned a specific value for the given MACHINE.
The fallback saved in KBRANCH, and represents the branch that
we should build, even if no fallback is required. Some substeps
of the recipe have been updated to use KBRANCH rather than
enforcing MACHINE-KERNELTYPE.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
meta/recipes-kernel/linux/linux-wrs_git.bb