From 5d60f129570163dfbcc4dedd6331876d09b0a360 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Mon, 21 Nov 2016 15:38:32 -0600 Subject: [PATCH] rust-triples: simplify vendor gathering We don't need to look up the vendor since it will always be unknown. --- classes/rust-triples.bbclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/classes/rust-triples.bbclass b/classes/rust-triples.bbclass index 6833762..6b781ae 100644 --- a/classes/rust-triples.bbclass +++ b/classes/rust-triples.bbclass @@ -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"):