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>
This commit is contained in:
parent
2f60d9a9f9
commit
5aabdbaff7
|
@ -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")
|
||||
}
|
Loading…
Reference in New Issue