From c25762d71db23f6705b4afc861d44fe38c1fb537 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 24 Feb 2011 16:11:25 -0700 Subject: sane-toolchain.inc: Fix a thinko in compute_os_portion_of_target_triplet Reported by by Pau Espin Pedrol Signed-off-by: Tom Rini --- conf/distro/include/sane-toolchain.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf') 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 "": -- cgit 1.2.3-korg