]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: anchor and delimit regexs
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 3 May 2013 03:07:54 +0000 (20:07 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2013 14:41:06 +0000 (15:41 +0100)
commit57ae1e412a35d827f84bf9b1f48747bf703f84b7
tree5d2f922a7f43d1c21d994531334cf311e84ea3e0
parent96113b28031583af1dd42fe7660a9d5ced36d1b6
kern-tools: anchor and delimit regexs

Updating the kern-tools SRCREV with the following fix:

    Updateme is responsible for updating an existing meta-series with new patches,
    configs and tree manipulations. To do this, it first checks for an existing
    board description and generates one if required. It then searches for features
    and fragments to be applied for the tree.

    There were two problems:

     - A top level board description is detected via the presence of "define"
       directives that indicate the board name, the arch and kernel type. The
       test for define would match on patches or fragments with 'define' in their
       name, and would incorrectly use that file as the top level board description.

       This is fixed by ensuring that only defines at the start of a line, or preceded
       by whitepace match.

     - When searching for features that were indicated as 'addon' or 'optional', the
       search would find, and apply, any feature with the passed name as substring
       versus an exact match.

       This is fixed by ensuring that the matched feature name is /<feature name>
       versus <feature name>

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