mortsgna-armv7-tune.inc: remove True option in getVar calls
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
def armv7_tune_handler(d):
|
||||
tune = d.getVar('DEFAULTTUNE', True)
|
||||
tune = d.getVar('DEFAULTTUNE')
|
||||
# set MORTSGNA_ARMV7_TUNE="1" in your local.conf to reduce all cortex variants
|
||||
# to common tune value
|
||||
if d.getVar('MORTSGNA_ARMV7_TUNE', True) == '1':
|
||||
features = d.getVar('TUNE_FEATURES', True).split()
|
||||
if d.getVar('MORTSGNA_ARMV7_TUNE') == '1':
|
||||
features = d.getVar('TUNE_FEATURES').split()
|
||||
if 'armv7a' in features or 'armv7ve' in features:
|
||||
tune = 'armv7athf'
|
||||
if 'bigendian' in features:
|
||||
@@ -11,7 +11,7 @@ def armv7_tune_handler(d):
|
||||
if 'neon' in features:
|
||||
tune += '-neon'
|
||||
else:
|
||||
tune = d.getVar('DEFAULTTUNE', True)
|
||||
tune = d.getVar('DEFAULTTUNE')
|
||||
|
||||
return tune
|
||||
|
||||
|
||||
Reference in New Issue
Block a user