diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-09-03 16:43:26 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-06 23:04:51 +0100 |
commit | 3dcff8c741703d1cd127d7784d10c90672a71bf4 (patch) | |
tree | fd39eeea0b14e1a68c0176255cdadb11f0c1fa0a /meta/recipes-graphics/images | |
parent | 9f19820b82fed1b90fd18ad8cb9f97cbb4270785 (diff) | |
download | poky-3dcff8c741703d1cd127d7784d10c90672a71bf4.tar.gz |
core-image-directfb: Use 'distro_features_check' class
(From OE-Core rev: 151c69a2f9f66bdd943f2db4d0b733c3d5091f4e)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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-directfb.bb | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/meta/recipes-graphics/images/core-image-directfb.bb b/meta/recipes-graphics/images/core-image-directfb.bb index 3a74e9413e..b6187eb3d5 100644 --- a/meta/recipes-graphics/images/core-image-directfb.bb +++ b/meta/recipes-graphics/images/core-image-directfb.bb | |||
@@ -6,16 +6,13 @@ PR="r0" | |||
6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ |
7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 7 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
8 | 8 | ||
9 | inherit core-image | 9 | inherit core-image distro_features_check |
10 | |||
11 | REQUIRED_DISTRO_FEATURES = "directfb" | ||
12 | CONFLICT_DISTRO_FEATURES = "x11" | ||
10 | 13 | ||
11 | IMAGE_INSTALL += "\ | 14 | IMAGE_INSTALL += "\ |
12 | ${CORE_IMAGE_BASE_INSTALL} \ | 15 | ${CORE_IMAGE_BASE_INSTALL} \ |
13 | packagegroup-core-basic \ | 16 | packagegroup-core-basic \ |
14 | packagegroup-core-directfb \ | 17 | packagegroup-core-directfb \ |
15 | " | 18 | " |
16 | |||
17 | python __anonymous () { | ||
18 | packages = d.getVar('DISTRO_FEATURES', True).split() | ||
19 | if "x11" in packages: | ||
20 | raise bb.parse.SkipPackage("FEATURE \"x11\" is in DISTRO_FEATURES, Please remove \"x11\" from DISTRO_FEATURES, use \"directfb\" instead of it\n") | ||
21 | } | ||