]> 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)
committerPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 20 May 2013 15:06:21 +0000 (16:06 +0100)
commitdc4757581c6a0886dcc106d7a6bd563e68ffc695
treef38e8c0e497496a331c632a58680b3d1b4f7ad97
parent1842f310962b835ceb5e41bc2a0e6bdb4a81c1e0
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>

(From OE-Core master rev: 57ae1e412a35d827f84bf9b1f48747bf703f84b7)

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