]> code.ossystems Code Review - openembedded-core.git/commit
kern-tools: kconf_check: flag CONFIG options with invalid spaces
authorBruce Ashfield <bruce.ashfield@windriver.com>
Sun, 15 Jan 2017 00:20:21 +0000 (19:20 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 23 Jan 2017 12:03:58 +0000 (12:03 +0000)
commit952a455c09eb88755b2d24ae05c2d6b886922b63
tree03e07b0ae093b8c30c9a4e59c59046804d2dd972
parent01657e8023ee535420ab5ba4a5d1952e13bce0cd
kern-tools: kconf_check: flag CONFIG options with invalid spaces

Options with spacs around = signs will be droped/ignored by the
kernel.

The audit phase can detect this and warn the user:

    % kconf_check --report -o .kernel-meta/cfg/ \
      linux-qemux86-standard-build/.config `pwd` $cfgs

     [errors (3): .kernel-meta/cfg/fragment_errors.txt
       There are errors withing the config fragments.

    % cat .kernel-meta/cfg/fragment_errors.txt
       Warning: Ignoring "CONFIG_PARAVIRTT_CLOCK =y" -- spaces around equals are invalid
       Warning: Ignoring "CONFIG_PARAVIRTTT_CLOCK = y" -- spaces around equals are invalid
       Warning: Ignoring "CONFIG_PARAVIRTTTT_CLOCK= y" -- spaces around equals are invalid

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/kern-tools/kern-tools-native_git.bb