summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorXiaofeng Yan <xiaofeng.yan@windriver.com>2011-12-16 16:12:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 11:24:49 +0000
commit5aabdbaff7b8be319a86c5e33cc2eb8c2e4aa2ef (patch)
tree7b2db728d10f2f8bc5dcd6346093cb65701a4b55 /meta/recipes-graphics
parent2f60d9a9f97b23101f3c71ea5339748c536d816c (diff)
downloadpoky-5aabdbaff7b8be319a86c5e33cc2eb8c2e4aa2ef.tar.gz
core-image-gtk-directfb: add a bb file to build an image for gtk over directfb
This file can make an image to run gtk over directfb. [YOCTO #1674] (From OE-Core rev: 0c97fd9d721cea9786e89a557418649ef4576cfd) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/images/core-image-gtk-directfb.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-graphics/images/core-image-gtk-directfb.bb b/meta/recipes-graphics/images/core-image-gtk-directfb.bb
new file mode 100644
index 0000000000..87b3a86de7
--- /dev/null
+++ b/meta/recipes-graphics/images/core-image-gtk-directfb.bb
@@ -0,0 +1,28 @@
1LICENSE = "MIT"
2PR="r0"
3
4
5LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
6 file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
7
8
9DEPENDS += "task-core-gtk-directfb"
10
11RDEPENDS_${PN} += " \
12 task-core-gtk-directfb-base \
13 "
14
15inherit core-image
16
17IMAGE_INSTALL += "\
18 ${POKY_BASE_INSTALL} \
19 task-core-basic \
20 module-init-tools \
21 task-core-gtk-directfb-base \
22"
23
24python __anonymous () {
25 packages = d.getVar('DISTRO_FEATURES', True).split()
26 if "x11" in packages:
27 raise bb.parse.SkipPackage("FEATURE \"x11\" is in DISTRO_FEATURES, Please remove \"x11\" from DISTRO_FEATURES, use \"gtk-directfb\" instead of it\n")
28}