From: Khem Raj Date: Tue, 18 Jan 2011 23:51:21 +0000 (-0800) Subject: appweb.inc: Account for all different uclibc triplets X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0781dd1886d9703a1ea1abbc9f045b55bd5fdb35;p=openembedded.git appweb.inc: Account for all different uclibc triplets Signed-off-by: Khem Raj --- 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