git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f532fbe
)
appweb.inc: Account for all different uclibc triplets
author
Khem Raj
<raj.khem@gmail.com>
Tue, 18 Jan 2011 23:51:21 +0000
(15:51 -0800)
committer
Khem Raj
<raj.khem@gmail.com>
Tue, 18 Jan 2011 23:51:21 +0000
(15:51 -0800)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/appweb/appweb.inc
patch
|
blob
|
history
diff --git
a/recipes/appweb/appweb.inc
b/recipes/appweb/appweb.inc
index
0f602f7
..
6c274e6
100644
(file)
--- 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