aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-02-24 16:11:25 -0700
committerTom Rini <tom_rini@mentor.com>2011-02-24 16:15:25 -0700
commitc25762d71db23f6705b4afc861d44fe38c1fb537 (patch)
tree98cfba249d8910d3dcbd0438631a8fc2a8d0330a /conf
parente12b55f89fc1495139cf70010320ac2c51738c4f (diff)
downloadopenembedded-c25762d71db23f6705b4afc861d44fe38c1fb537.tar.gz
openembedded-c25762d71db23f6705b4afc861d44fe38c1fb537.tar.bz2
openembedded-c25762d71db23f6705b4afc861d44fe38c1fb537.zip
sane-toolchain.inc: Fix a thinko in compute_os_portion_of_target_triplet
Reported by by Pau Espin Pedrol Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/include/sane-toolchain.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/distro/include/sane-toolchain.inc b/conf/distro/include/sane-toolchain.inc
index dd066508b3..5882fd7a90 100644
--- a/conf/distro/include/sane-toolchain.inc
+++ b/conf/distro/include/sane-toolchain.inc
@@ -199,8 +199,8 @@ def compute_os_portion_of_target_triplet (d):
bb.note("DISTRO_FEATURES is not set abi suffix not set")
abi_suffix = ""
- if bb.data.getVar('TOOLCHAIN_BRAND',d,1) is not None and \
- bb.data.getVar('TOOLCHAIN_BRAND',d,1) in "csl":
+ if bb.data.getVar('TOOLCHAIN_BRAND', d, 1) is not None and \
+ "csl" in bb.data.getVar('TOOLCHAIN_BRAND', d, 1):
gnu_suffix = "gnu"
if libc_suffix + gnu_suffix + abi_suffix is not "":