From aac3919f538a5608ffcc3af5bd8f121e3c2c3469 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Fri, 4 Mar 2016 02:01:00 +1000 Subject: 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 Signed-off-by: Richard Purdie --- meta/conf/machine/include/arm/feature-arm-thumb.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3