diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-09-14 17:19:55 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-15 11:23:57 +0100 |
| commit | 8c310ee0a94a7e15d815a2719272ffc704e857b0 (patch) | |
| tree | 1e8a108c25c5cb4ae395b40a264eda7ac4dedff3 /meta/recipes-sato | |
| parent | d1f4cebf7ec76e34134dc2d1e8108eee1da36b40 (diff) | |
| download | poky-8c310ee0a94a7e15d815a2719272ffc704e857b0.tar.gz | |
task-core: split into task-core-console and task-core-x11
[YOCTO #1481]
Since tasks are referred to almost exclusively via RDEPENDS, and bitbake
will build an entire task recipe when only one of its task packages are
actually needed, building a console-only image that uses
task-core-apps-console (or less directly, has apps-console in its
IMAGE_FEATURES) will cause a build of a whole list of X11 applications
that aren't needed. Splitting the task-core recipe into X11 and console
portions prevents this issue.
(From OE-Core rev: 07407baafb728c5ae1bb283f5b02a2ac773360bc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
| -rw-r--r-- | meta/recipes-sato/tasks/task-core-x11.bb (renamed from meta/recipes-sato/tasks/task-core.bb) | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/meta/recipes-sato/tasks/task-core.bb b/meta/recipes-sato/tasks/task-core-x11.bb index a595ad71ae..26d550add2 100644 --- a/meta/recipes-sato/tasks/task-core.bb +++ b/meta/recipes-sato/tasks/task-core-x11.bb | |||
| @@ -1,17 +1,14 @@ | |||
| 1 | # | 1 | # |
| 2 | # Copyright (C) 2007-2008 OpenedHand Ltd. | 2 | # Copyright (C) 2011 Intel Corporation |
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | DESCRIPTION = "Tasks for OpenedHand Poky" | 5 | DESCRIPTION = "Tasks for core X11 applications" |
| 6 | LICENSE = "MIT" | 6 | LICENSE = "MIT" |
| 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
| 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 8 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
| 9 | PR = "r34" | 9 | PR = "r35" |
| 10 | 10 | ||
| 11 | PACKAGES = "\ | 11 | PACKAGES = "\ |
| 12 | task-core-apps-console \ | ||
| 13 | task-core-apps-console-dbg \ | ||
| 14 | task-core-apps-console-dev \ | ||
| 15 | task-core-apps-x11-core \ | 12 | task-core-apps-x11-core \ |
| 16 | task-core-apps-x11-core-dbg \ | 13 | task-core-apps-x11-core-dbg \ |
| 17 | task-core-apps-x11-core-dev \ | 14 | task-core-apps-x11-core-dev \ |
| @@ -29,18 +26,10 @@ XSERVER ?= "xserver-kdrive-fbdev" | |||
| 29 | 26 | ||
| 30 | ALLOW_EMPTY = "1" | 27 | ALLOW_EMPTY = "1" |
| 31 | 28 | ||
| 32 | SPLASH ?= "psplash" | ||
| 33 | |||
| 34 | # pcmanfm doesn't work on mips/powerpc | 29 | # pcmanfm doesn't work on mips/powerpc |
| 35 | FILEMANAGER ?= "pcmanfm" | 30 | FILEMANAGER ?= "pcmanfm" |
| 36 | FILEMANAGER_mips ?= "" | 31 | FILEMANAGER_mips ?= "" |
| 37 | 32 | ||
| 38 | RDEPENDS_task-core-apps-console = "\ | ||
| 39 | avahi-daemon \ | ||
| 40 | dbus \ | ||
| 41 | portmap \ | ||
| 42 | ${SPLASH}" | ||
| 43 | |||
| 44 | 33 | ||
| 45 | RDEPENDS_task-core-x11-base = "\ | 34 | RDEPENDS_task-core-x11-base = "\ |
| 46 | dbus \ | 35 | dbus \ |
