diff options
author | Ming Liu <ming.liu@toradex.com> | 2020-04-18 09:20:24 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-06-01 11:57:00 +0200 |
commit | a3f6db36c7eec06fc60f291b58cb9273d87c6ed7 (patch) | |
tree | 6ecf2c72a481f47e131400afdbeb0ed175b4f628 /conf | |
parent | 84a7ab6926ceab490f6f912b5cd8b87556000b3f (diff) |
arm-defaults.inc: drop useless True parameters
Signed-off-by: Ming Liu <ming.liu@toradex.com>
(cherry picked from commit b41d325b2650724e0645acbeddcbc72e6af52747)
Diffstat (limited to 'conf')
-rw-r--r-- | conf/distro/include/arm-defaults.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/distro/include/arm-defaults.inc b/conf/distro/include/arm-defaults.inc index 12bf1e0..7f9d3b2 100644 --- a/conf/distro/include/arm-defaults.inc +++ b/conf/distro/include/arm-defaults.inc @@ -13,7 +13,7 @@ def at_least_one(elements, list): def arm_tune_handler(d): armv7athf_tune_features = ['armv7a', 'armv7ve', 'cortexa5', 'cortexa7', 'cortexa9', 'cortexa15'] - features = d.getVar('TUNE_FEATURES', True).split() + features = d.getVar('TUNE_FEATURES').split() if at_least_one(armv7athf_tune_features, features): tune = 'armv7athf' if 'bigendian' in features: @@ -27,7 +27,7 @@ def arm_tune_handler(d): if 'vfpv4' in features: tune += '-vfpv4' else: - tune = d.getVar('DEFAULTTUNE', True) + tune = d.getVar('DEFAULTTUNE') return tune DEFAULTTUNE_tdx := "${@arm_tune_handler(d)}" |