summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-03-04 02:01:00 +1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-06 23:52:57 +0000
commitaac3919f538a5608ffcc3af5bd8f121e3c2c3469 (patch)
treef1debc7c2d1da10281c12740041c6268629e9702
parent063ed9058a14775f77e7875d4f6ef5719fa03f18 (diff)
downloadopenembedded-core-aac3919f538a5608ffcc3af5bd8f121e3c2c3469.tar.gz
openembedded-core-aac3919f538a5608ffcc3af5bd8f121e3c2c3469.tar.bz2
openembedded-core-aac3919f538a5608ffcc3af5bd8f121e3c2c3469.zip
feature-arm-thumb.inc: Fix thumb tune override warning
Fix the quotes in the bb.utils.contains feature check so that the call results in a boolean value instead of a string, which allows the warning check to occur. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/machine/include/arm/feature-arm-thumb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/arm/feature-arm-thumb.inc b/meta/conf/machine/include/arm/feature-arm-thumb.inc
index dfb9d7e9a2..1faebf7c26 100644
--- a/meta/conf/machine/include/arm/feature-arm-thumb.inc
+++ b/meta/conf/machine/include/arm/feature-arm-thumb.inc
@@ -13,7 +13,7 @@ ARM_THUMB_SUFFIX .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7ve', 't2', '',
# some recipe explicitly sets ARM_INSTRUCTION_SET to "arm"
ARM_M_OPT = "${@bb.utils.contains('TUNE_FEATURES', 'arm', '${ARM_THUMB_OPT}', 'thumb', d)}"
python () {
- if bb.utils.contains('TUNE_FEATURES', 'thumb', 'False', 'True', d):
+ if bb.utils.contains('TUNE_FEATURES', 'thumb', False, True, d):
return
selected = d.getVar('ARM_INSTRUCTION_SET', True)
if selected == None: