diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-01-18 15:51:21 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-01-18 15:51:21 -0800 |
commit | 0781dd1886d9703a1ea1abbc9f045b55bd5fdb35 (patch) | |
tree | 0efc5f264beca5b242f767bd6c7213d7d4839db0 /recipes/appweb | |
parent | f532fbe7d9cacaec42a71af9d70d4c67bfcf535c (diff) | |
download | openembedded-0781dd1886d9703a1ea1abbc9f045b55bd5fdb35.tar.gz |
appweb.inc: Account for all different uclibc triplets
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/appweb')
-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 |