git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e12b55f
)
sane-toolchain.inc: Fix a thinko in compute_os_portion_of_target_triplet
author
Tom Rini
<tom_rini@mentor.com>
Thu, 24 Feb 2011 23:11:25 +0000
(16:11 -0700)
committer
Tom Rini
<tom_rini@mentor.com>
Thu, 24 Feb 2011 23:15:25 +0000
(16:15 -0700)
Reported by by Pau Espin Pedrol
Signed-off-by: Tom Rini <tom_rini@mentor.com>
conf/distro/include/sane-toolchain.inc
patch
|
blob
|
history
diff --git
a/conf/distro/include/sane-toolchain.inc
b/conf/distro/include/sane-toolchain.inc
index
dd06650
..
5882fd7
100644
(file)
--- 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 "":