Patchwork [9/9] kern-tools: anchor KMACHINE test

mail settings
Submitter Bruce Ashfield
Date June 7, 2012, 7:59 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/29401/
State Accepted
Commit 75a973328d50ef3c007edb7a471ea77fb97911ea
Headers show


Bruce Ashfield - June 7, 2012, 7:59 p.m.
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

    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 <>
 .../kern-tools/            |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/meta/recipes-kernel/kern-tools/ b/meta/recipes-kernel/kern-tools/
index becb0de..2329ab9 100644
--- a/meta/recipes-kernel/kern-tools/
+++ b/meta/recipes-kernel/kern-tools/
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
 DEPENDS = "git-native guilt-native"
-SRCREV = "0859d2f73cc6f6973835fa5713b5a98a43ed43ff"
+SRCREV = "4b1fef0a85db38bad6db7f14d44ea59713a64fdb"
 PR = "r12"
 PV = "0.1+git${SRCPV}"