[oe-commits] Khem Raj : appweb.inc: Account for all different uclibc triplets

git version control git at git.openembedded.org
Tue Jan 18 23:57:27 UTC 2011


Module: openembedded.git
Branch: master
Commit: 0781dd1886d9703a1ea1abbc9f045b55bd5fdb35
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0781dd1886d9703a1ea1abbc9f045b55bd5fdb35

Author: Khem Raj <raj.khem at gmail.com>
Date:   Tue Jan 18 15:51:21 2011 -0800

appweb.inc: Account for all different uclibc triplets

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 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 0f602f7..6c274e6 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





More information about the Openembedded-commits mailing list