Skip to content

Commit

Permalink
arm-defaults: split out thumb, fixed when used with overrides
Browse files Browse the repository at this point in the history
meta-fsl-arm (yes, again) now uses overrides for DEFAULTTUNE which
messes up our magic. Sprinkle an override of our own in here to fix it.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information
koenkooi committed Oct 29, 2015
1 parent 35abc3b commit 320e795
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions conf/distro/include/arm-defaults.inc
Expand Up @@ -10,7 +10,10 @@
def arm_tune_handler(d):
features = d.getVar('TUNE_FEATURES', True).split()
if 'armv7a' in features:
tune = 'armv7athf'
if 'thumb' in features:
tune = 'armv7athf'
else:
tune = 'armv7ahf'
if 'bigendian' in features:
tune += 'b'
if 'neon' in features:
Expand All @@ -19,4 +22,4 @@ def arm_tune_handler(d):
tune = d.getVar('DEFAULTTUNE', True)
return tune

DEFAULTTUNE := "${@arm_tune_handler(d)}"
DEFAULTTUNE_angstrom := "${@arm_tune_handler(d)}"

0 comments on commit 320e795

Please sign in to comment.