summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/tasks/task-oh-sdk.bb8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/packages/tasks/task-oh-sdk.bb b/meta/packages/tasks/task-oh-sdk.bb
index c4b8749f9c..f8baf4fc4c 100644
--- a/meta/packages/tasks/task-oh-sdk.bb
+++ b/meta/packages/tasks/task-oh-sdk.bb
@@ -1,6 +1,6 @@
1DESCRIPTON = "Software Development Tasks for OpenedHand Poky" 1DESCRIPTON = "Software Development Tasks for OpenedHand Poky"
2MAINTAINER = "Richard Purdie <richard@openedhand.com>" 2MAINTAINER = "Richard Purdie <richard@openedhand.com>"
3PR = "r10" 3PR = "r11"
4DEPENDS = "task-oh" 4DEPENDS = "task-oh"
5ALLOW_EMPTY = "1" 5ALLOW_EMPTY = "1"
6PACKAGEFUNCS =+ 'generate_sdk_pkgs' 6PACKAGEFUNCS =+ 'generate_sdk_pkgs'
@@ -17,12 +17,10 @@ RDEPENDS_task-oh-sdk = "\
17 make \ 17 make \
18 perl-module-re \ 18 perl-module-re \
19 perl-module-text-wrap \ 19 perl-module-text-wrap \
20 pkgconfig" 20 pkgconfig \
21 distcc"
21 22
22python generate_sdk_pkgs () { 23python generate_sdk_pkgs () {
23 def packaged(pkg, d):
24 return os.access(bb.data.expand('${STAGING_DIR}/pkgdata/runtime/%s.packaged' % pkg, d), os.R_OK)
25
26 ohpkgs = read_pkgdata('task-oh', d)['PACKAGES'] 24 ohpkgs = read_pkgdata('task-oh', d)['PACKAGES']
27 pkgs = bb.data.getVar('PACKAGES', d, 1).split() 25 pkgs = bb.data.getVar('PACKAGES', d, 1).split()
28 for pkg in ohpkgs.split(): 26 for pkg in ohpkgs.split():