diff options
Diffstat (limited to 'recipes/appweb/appweb.inc')
-rw-r--r-- | recipes/appweb/appweb.inc | 6 |
1 files 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 |