kernel-yocto: quote kconfig mode check
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 24 Apr 2014 18:09:39 +0000 (14:09 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 May 2014 16:59:17 +0000 (17:59 +0100)
commitaf904efd7032e5773a7ccd7d27066b55e9ca5305
tree079aa5235235ae96e02ebcb57d36872e2b60a891
parentadd83bd38c86d3c9e7f727ab03f8a5fb0fbe5693
kernel-yocto: quote kconfig mode check

We allow inheriting recipes to control the kconfig mode used by merge_config.sh
via the KCONFIG_MODE variable. An error crept into the variable reference, and
since it is not quoted, the true condition always runs.

The result is that operations without an explicit kconfig mode cannot trigger
allnoconfig for defconfig builds, which can result in some options being
dropped from the final .config.

Quoting the reference allows it to evaluate properly.

(From OE-Core rev: aad19e4381a8a09c354e5899885997c5b4cd115b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-yocto.bbclass