diff options
author | Ming Liu <ming.liu@toradex.com> | 2020-04-18 09:20:24 +0200 |
---|---|---|
committer | Ming Liu <ming.liu@toradex.com> | 2020-04-18 21:07:49 +0200 |
commit | b41d325b2650724e0645acbeddcbc72e6af52747 (patch) | |
tree | 3cbbf42143403b069590d67270e25899c65c8bfd | |
parent | 9a93acdeda3fed168b74c33788f385ac42702ed4 (diff) |
arm-defaults.inc: drop useless True parameters
Signed-off-by: Ming Liu <ming.liu@toradex.com>
-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)}" |