[oe-commits] Jacob Kroon : feature-arm-thumb.inc: Suppress false warning
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 30 15:40:07 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: e457d71641af8802e47eb4854072e3cfb957b001
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e457d71641af8802e47eb4854072e3cfb957b001
Author: Jacob Kroon <jacob.kroon at mikrodidakt.se>
Date: Tue Apr 29 22:07:09 2014 +0200
feature-arm-thumb.inc: Suppress false warning
If a recipe does not explicitly set ARM_INSTRUCTION_SET, then there is no
need to throw a warning:
WARNING: Recipe 'foobar' selects ARM_INSTRUCTION_SET to be 'None',
but tune configuration overrides it to 'arm'
Signed-off-by: Jacob Kroon <jacob.kroon at mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/conf/machine/include/arm/feature-arm-thumb.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/conf/machine/include/arm/feature-arm-thumb.inc b/meta/conf/machine/include/arm/feature-arm-thumb.inc
index 8a38665..69c628a 100644
--- a/meta/conf/machine/include/arm/feature-arm-thumb.inc
+++ b/meta/conf/machine/include/arm/feature-arm-thumb.inc
@@ -19,6 +19,8 @@ ARM_THUMB_SUFFIX .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 't2', '', d
ARM_M_OPT = "${@bb.utils.contains('TUNE_FEATURES', 'arm', '${ARM_THUMB_OPT}', 'thumb', d)}"
python () {
selected = d.getVar('ARM_INSTRUCTION_SET', True)
+ if selected == None:
+ return
used = d.getVar('ARM_M_OPT', True)
if selected != used:
pn = d.getVar('PN', True)
More information about the Openembedded-commits
mailing list