summaryrefslogtreecommitdiff
path: root/packages/appweb/appweb_2.0.4.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-10-12 09:18:56 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-10-12 09:18:56 +0000
commit67a391820a7b50eac89da4faa76ff60cc9c5aec9 (patch)
tree51d97942a059ff033bc2faee3be592c0214c1df8 /packages/appweb/appweb_2.0.4.bb
parentba2edadd18221dc8a79713c4bcf8805a29ae6bd8 (diff)
appweb: refactor get_appweb_host function out into common .inc
Diffstat (limited to 'packages/appweb/appweb_2.0.4.bb')
-rw-r--r--packages/appweb/appweb_2.0.4.bb5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/appweb/appweb_2.0.4.bb b/packages/appweb/appweb_2.0.4.bb
index f740876acd..7f7941012a 100644
--- a/packages/appweb/appweb_2.0.4.bb
+++ b/packages/appweb/appweb_2.0.4.bb
@@ -10,10 +10,7 @@ S = "${WORKDIR}/appWeb-${PV}"
APPWEB_HOST = "${@get_appweb_host(d, bb)}"
APPWEB_BUILD = "${BUILD_SYS}"
-def get_appweb_host(d, bb):
- host = bb.data.getVar('HOST_SYS', d, 1)
- return host.replace('-linux-uclibc', '-linux')
-
+require appweb.inc
# --buildNumber=NUMBER Set the build number part of the version (1.0.0.X).
# --name=NAME Set the full product name (BLD_NAME define).