]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: make fuzzy matching optional
authorBruce Ashfield <bruce.ashfield@windriver.com>
Fri, 3 Nov 2017 02:45:31 +0000 (22:45 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 3 Nov 2017 16:54:43 +0000 (16:54 +0000)
commitf60d050fef2e4ac592bb5554e74b9573e3570d0f
treec50b1cb6d43f385877730598de3722f72740d704
parent1027bfffb3d6118a43c5697f36b30dd8e4ae3f96
kern-tools: make fuzzy matching optional

It was reported that BSPs that only matched the machine were
being returned as the configuration entry point. This could lead
to warnings, or unexpected runtime results.

Integrating the following commit to ensure that only strict matches
are returned by default, with a flag to do fuzzy matching

    spp: make fuzzy matching optional

    Add a flag that can be used to toggle wether or not a partial
    match is an error.

      --fuzz

    When passed, partial patching will be used. If not passed the
    default is to return nothing (which can be interpreted as an
    error by the calling routines) if both the kernel type and
    machine do not match.

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