diff options
-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 | } | ||