rust-triples: simplify vendor gathering

We don't need to look up the vendor since it will always be unknown.
This commit is contained in:
Doug Goldstein
2016-11-21 15:38:32 -06:00
parent 0b6b45fbca
commit 5d60f12957
+2 -3
View File
@@ -9,10 +9,9 @@ def rust_base_triple(d, thing):
'''
arch = d.getVar('{}_ARCH'.format(thing), True)
vendor = d.getVar('{}_VENDOR'.format(thing), True)
os = d.getVar('{}_OS'.format(thing), True)
# All the Yocto targets are Linux and are 'unknown'
vendor = "-unknown"
os = d.getVar('{}_OS'.format(thing), True)
if arch.startswith("arm"):
if os.endswith("gnueabi"):