]> 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>
Mon, 4 Dec 2017 17:14:18 +0000 (17:14 +0000)
commit141a7afa9eaca5f4b7ed0fbc91f48e370c8f364d
tree72c662aa625533fe93da9cb4f7118644effc7114
parent32bb62512bbec56cd1910e8955013042afab70b9
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>
(cherry picked from commit f60d050fef2e4ac592bb5554e74b9573e3570d0f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb