]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: anchor KMACHINE test
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 7 Jun 2012 19:59:50 +0000 (15:59 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jun 2012 10:56:21 +0000 (11:56 +0100)
commit75a973328d50ef3c007edb7a471ea77fb97911ea
tree7f161ef21f3214260805694f640be7b2f2627be2
parente44b616309dd8e442c7cd13c4c0b1a4ee41ac40f
kern-tools: anchor KMACHINE test

Updating the kern-tools SRCREV to pick up the following fix:

    Out of tree feature descriptions (.scc files) take two forms: normal
    features and BSP descriptions.

    A normal feature is detected and added to the end of the current machine
    being processed. During tree processing, it's configuration and patches
    will be applied.

    A BSP description on the other hand must be matched based on three
    critera (which are in the .scc file via "define <foo>"):

      - machine
      - kernel type
      - architecture

    Since features that define machines are only explicitly added, they
    are removed from the list of features that should be automatically
    added.

    The criteria for removing them from the auto-add list is the
    definitions found in the .scc file. The existing check was simply
    for KMACHINE anywhere in the file. This meant that a conditional
    or even a comment containing that phrase would exclude a file.

    Properly anchoring the KMACHINE test to "^define.*KMACHINE" fixes the
    problem of overly agreesive exclusions.

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