From: Tom Rini Date: Thu, 24 Feb 2011 23:11:25 +0000 (-0700) Subject: sane-toolchain.inc: Fix a thinko in compute_os_portion_of_target_triplet X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c25762d71db23f6705b4afc861d44fe38c1fb537;p=openembedded.git sane-toolchain.inc: Fix a thinko in compute_os_portion_of_target_triplet Reported by by Pau Espin Pedrol Signed-off-by: Tom Rini --- 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 "":