diff options
author | Tom Rini <tom_rini@mentor.com> | 2011-02-24 16:11:25 -0700 |
---|---|---|
committer | Tom Rini <tom_rini@mentor.com> | 2011-02-24 16:15:25 -0700 |
commit | c25762d71db23f6705b4afc861d44fe38c1fb537 (patch) | |
tree | 98cfba249d8910d3dcbd0438631a8fc2a8d0330a | |
parent | e12b55f89fc1495139cf70010320ac2c51738c4f (diff) | |
download | openembedded-c25762d71db23f6705b4afc861d44fe38c1fb537.tar.gz |
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>
-rw-r--r-- | conf/distro/include/sane-toolchain.inc | 4 |
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 "": |