summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/tasks
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-09-20 14:18:45 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-09-20 14:18:45 +0100
commit79a4501a2ead92cb512eef0bd3dfe133d0e5d799 (patch)
tree5f82f1971c81034799bd5ab330e54b281020fc24 /meta/recipes-core/tasks
parent03d9669cbcc35a49120b9cc277723bccd93f4cf3 (diff)
downloadpoky-79a4501a2ead92cb512eef0bd3dfe133d0e5d799.tar.gz
Complete packages -> recipes transition
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/tasks')
-rw-r--r--meta/recipes-core/tasks/task-poky-nfs.bb24
-rw-r--r--meta/recipes-core/tasks/task-poky-sdk.bb84
-rw-r--r--meta/recipes-core/tasks/task-poky-standalone-sdk-target.bb14
-rw-r--r--meta/recipes-core/tasks/task-poky-tools.bb77
-rw-r--r--meta/recipes-core/tasks/task-sdk-host.bb32
5 files changed, 231 insertions, 0 deletions
diff --git a/meta/recipes-core/tasks/task-poky-nfs.bb b/meta/recipes-core/tasks/task-poky-nfs.bb
new file mode 100644
index 0000000000..b929bbe82a
--- /dev/null
+++ b/meta/recipes-core/tasks/task-poky-nfs.bb
@@ -0,0 +1,24 @@
1#
2# Copyright (C) 2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "NFS tasks for Poky"
6LICENSE = "MIT"
7PR = "r0"
8
9PACKAGES = "\
10 task-poky-nfs-server \
11 task-poky-nfs-server-dbg \
12 task-poky-nfs-server-dev \
13 "
14
15ALLOW_EMPTY = "1"
16
17RDEPENDS_task-poky-nfs-server = "\
18 nfs-utils"
19
20# rpcinfo can be useful but only with glibc images
21GLIBC_DEPENDENCIES = "glibc-utils"
22
23RRECOMMENDS_task-poky-nfs-server_append_linux = "${GLIBC_DEPENDENCIES}"
24RRECOMMENDS_task-poky-nfs-server_append_linux-gnueabi = "${GLIBC_DEPENDENCIES}" \ No newline at end of file
diff --git a/meta/recipes-core/tasks/task-poky-sdk.bb b/meta/recipes-core/tasks/task-poky-sdk.bb
new file mode 100644
index 0000000000..021878cf06
--- /dev/null
+++ b/meta/recipes-core/tasks/task-poky-sdk.bb
@@ -0,0 +1,84 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5DESCRIPTON = "Software Development Tasks for OpenedHand Poky"
6LICENSE = "MIT"
7DEPENDS = "task-poky"
8PR = "r5"
9
10ALLOW_EMPTY = "1"
11#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
12
13PACKAGES = "\
14 task-poky-sdk \
15 task-poky-sdk-dbg \
16 task-poky-sdk-dev"
17
18RDEPENDS_task-poky-sdk = "\
19 autoconf \
20 automake \
21 binutils \
22 binutils-symlinks \
23 coreutils \
24 cpp \
25 cpp-symlinks \
26 diffutils \
27 gcc \
28 gcc-symlinks \
29 g++ \
30 g++-symlinks \
31 gettext \
32 make \
33 intltool \
34 libstdc++ \
35 libstdc++-dev \
36 libtool \
37 perl-module-re \
38 perl-module-text-wrap \
39 pkgconfig \
40 findutils \
41 quilt \
42 less \
43 distcc"
44
45#python generate_sdk_pkgs () {
46# poky_pkgs = read_pkgdata('task-poky', d)['PACKAGES']
47# pkgs = bb.data.getVar('PACKAGES', d, 1).split()
48# for pkg in poky_pkgs.split():
49# newpkg = pkg.replace('task-poky', 'task-poky-sdk')
50#
51# # for each of the task packages, add a corresponding sdk task
52# pkgs.append(newpkg)
53#
54# # for each sdk task, take the rdepends of the non-sdk task, and turn
55# # that into rrecommends upon the -dev versions of those, not unlike
56# # the package depchain code
57# spkgdata = read_subpkgdata(pkg, d)
58#
59# rdepends = explode_deps(spkgdata.get('RDEPENDS_%s' % pkg) or '')
60# rreclist = []
61#
62# for depend in rdepends:
63# split_depend = depend.split(' (')
64# name = split_depend[0].strip()
65# if packaged('%s-dev' % name, d):
66# rreclist.append('%s-dev' % name)
67# else:
68# deppkgdata = read_subpkgdata(name, d)
69# rdepends2 = explode_deps(deppkgdata.get('RDEPENDS_%s' % name) or '')
70# for depend in rdepends2:
71# split_depend = depend.split(' (')
72# name = split_depend[0].strip()
73# if packaged('%s-dev' % name, d):
74# rreclist.append('%s-dev' % name)
75#
76# oldrrec = bb.data.getVar('RRECOMMENDS_%s' % newpkg, d) or ''
77# bb.data.setVar('RRECOMMENDS_%s' % newpkg, oldrrec + ' ' + ' '.join(rreclist), d)
78# # bb.note('RRECOMMENDS_%s = "%s"' % (newpkg, bb.data.getVar('RRECOMMENDS_%s' % newpkg, d)))
79#
80# # bb.note('pkgs is %s' % pkgs)
81# bb.data.setVar('PACKAGES', ' '.join(pkgs), d)
82#}
83#
84#PACKAGES_DYNAMIC = "task-poky-sdk-*"
diff --git a/meta/recipes-core/tasks/task-poky-standalone-sdk-target.bb b/meta/recipes-core/tasks/task-poky-standalone-sdk-target.bb
new file mode 100644
index 0000000000..4aa318881c
--- /dev/null
+++ b/meta/recipes-core/tasks/task-poky-standalone-sdk-target.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "Target packages for the standalone SDK"
2PR = "r6"
3LICENSE = "MIT"
4ALLOW_EMPTY = "1"
5
6PACKAGES = "${PN} ${PN}-dbg"
7
8RDEPENDS_${PN} = "\
9 libgcc \
10 libgcc-dev \
11 libstdc++ \
12 libstdc++-dev \
13 ${LIBC_DEPENDENCIES} \
14 "
diff --git a/meta/recipes-core/tasks/task-poky-tools.bb b/meta/recipes-core/tasks/task-poky-tools.bb
new file mode 100644
index 0000000000..e5d4200eb1
--- /dev/null
+++ b/meta/recipes-core/tasks/task-poky-tools.bb
@@ -0,0 +1,77 @@
1#
2# Copyright (C) 2008 OpenedHand Ltd.
3#
4
5DESCRIPTION = "Tools tasks for Poky"
6LICENSE = "MIT"
7PR = "r6"
8
9PACKAGES = "\
10 task-poky-tools-debug \
11 task-poky-tools-debug-dbg \
12 task-poky-tools-debug-dev \
13 task-poky-tools-profile \
14 task-poky-tools-profile-dbg \
15 task-poky-tools-profile-dev \
16 task-poky-tools-testapps \
17 task-poky-tools-testapps-dbg \
18 task-poky-tools-testapps-dev \
19 "
20
21PACKAGE_ARCH = "${MACHINE_ARCH}"
22
23ALLOW_EMPTY = "1"
24
25# kexec-tools doesn't work on Mips
26KEXECTOOLS ?= "kexec-tools"
27KEXECTOOLS_mips ?= ""
28KEXECTOOLS_mipsel ?= ""
29KEXECTOOLS_powerpc ?= ""
30
31RDEPENDS_task-poky-tools-debug = "\
32 gdb \
33 gdbserver \
34 tcf-agent \
35 strace"
36
37RDEPENDS_task-poky-tools-profile = "\
38 oprofile \
39 oprofileui-server \
40 powertop \
41 latencytop \
42 lttng-control \
43 lttng-viewer"
44
45RRECOMMENDS_task-poky-tools-profile = "\
46 perf \
47 trace-cmd \
48 kernel-module-oprofile"
49
50# exmap-console
51# exmap-server
52
53# At present we only build lttng-ust on
54# qemux86/qemux86-64/qemuppc/emenlow/netbook since upstream liburcu
55# (which is required by lttng-ust) may not build on other platforms, like
56# MIPS and qemu ARMv5te that poky uses now.
57RDEPENDS_task-poky-tools-profile_append_qemux86 = " valgrind lttng-ust"
58RDEPENDS_task-poky-tools-profile_append_qemux86-64 = " lttng-ust"
59RDEPENDS_task-poky-tools-profile_append_qemuppc = " lttng-ust"
60RDEPENDS_task-poky-tools-profile_append_emenlow = " lttng-ust"
61RDEPENDS_task-poky-tools-profile_append_netbook = " lttng-ust"
62
63RDEPENDS_task-poky-tools-testapps = "\
64 blktool \
65 tslib-calibrate \
66 tslib-tests \
67 lrzsz \
68 ${KEXECTOOLS} \
69 alsa-utils-amixer \
70 alsa-utils-aplay \
71 owl-video \
72 gst-meta-video \
73 gst-meta-audio \
74 xrestop \
75 xwininfo \
76 xprop \
77 xvideo-tests"
diff --git a/meta/recipes-core/tasks/task-sdk-host.bb b/meta/recipes-core/tasks/task-sdk-host.bb
new file mode 100644
index 0000000000..bccf48dbde
--- /dev/null
+++ b/meta/recipes-core/tasks/task-sdk-host.bb
@@ -0,0 +1,32 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd
3#
4
5DESCRIPTION = "Host packages for the standalone SDK or external toolchain"
6PR = "r8"
7LICENSE = "MIT"
8ALLOW_EMPTY = "1"
9
10inherit nativesdk
11
12PACKAGES = "${PN}"
13
14RDEPENDS_${PN} = "\
15 binutils-cross-canadian \
16 gdb-cross-canadian \
17 gcc-cross-canadian \
18 pkgconfig-nativesdk \
19 qemu-nativesdk \
20 qemu-helper-nativesdk \
21 pseudo-nativesdk \
22 unfs-server-nativesdk \
23 opkg-nativesdk \
24 "
25
26RDEPENDS_${PN}_darwin8 = "\
27 odcctools-cross-canadian \
28 llvm-cross-canadian \
29 pkgconfig-nativesdk \
30 opkg-nativesdk \
31 libtool-nativesdk \
32 "