From 0781dd1886d9703a1ea1abbc9f045b55bd5fdb35 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 18 Jan 2011 15:51:21 -0800 Subject: [PATCH] appweb.inc: Account for all different uclibc triplets Signed-off-by: Khem Raj --- recipes/appweb/appweb.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/appweb/appweb.inc b/recipes/appweb/appweb.inc index 0f602f70d3..6c274e6d80 100644 --- a/recipes/appweb/appweb.inc +++ b/recipes/appweb/appweb.inc @@ -1,4 +1,6 @@ def get_appweb_host(d, bb): + import re host = bb.data.getVar('HOST_SYS', d, 1) - return host.replace('-linux-uclibc', '-linux') - + if(re.search('-linux-uclibc',host)): + host = '-linux' + return host -- 2.39.5