diff options
author | Xiaofeng Yan <xiaofeng.yan@windriver.com> | 2011-12-16 16:12:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-05 11:22:57 +0000 |
commit | 0c97fd9d721cea9786e89a557418649ef4576cfd (patch) | |
tree | 125f5ecb364040829b046efeddee10a4113dd4b0 /meta/recipes-graphics/images | |
parent | 0eb3a0f3ee857a17d80598ea2f0b1f3d14ac6d30 (diff) | |
download | openembedded-core-0c97fd9d721cea9786e89a557418649ef4576cfd.tar.gz openembedded-core-0c97fd9d721cea9786e89a557418649ef4576cfd.tar.bz2 openembedded-core-0c97fd9d721cea9786e89a557418649ef4576cfd.zip |
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]
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/images')
-rw-r--r-- | meta/recipes-graphics/images/core-image-gtk-directfb.bb | 28 |
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 @@ +LICENSE = "MIT" +PR="r0" + + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + + +DEPENDS += "task-core-gtk-directfb" + +RDEPENDS_${PN} += " \ + task-core-gtk-directfb-base \ + " + +inherit core-image + +IMAGE_INSTALL += "\ + ${POKY_BASE_INSTALL} \ + task-core-basic \ + module-init-tools \ + task-core-gtk-directfb-base \ +" + +python __anonymous () { + packages = d.getVar('DISTRO_FEATURES', True).split() + if "x11" in packages: + raise bb.parse.SkipPackage("FEATURE \"x11\" is in DISTRO_FEATURES, Please remove \"x11\" from DISTRO_FEATURES, use \"gtk-directfb\" instead of it\n") +} |