From 198b4647d11afe64e6d14a3a6bd7bf29d87f462d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 1 Mar 2017 17:24:19 +0100 Subject: [PATCH] liri-wayland_git: rework PACKAGECONFIG defaults MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Use default matching for most environments * In case a BSP wants a different device-interation it can ovverride simply - e.g. a closed-source accelerated Raspi could set PACKAGECONFIG_EGL_rpi = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'brcm', '', d)}" Signed-off-by: Andreas Müller --- recipes-liri/liri-wayland/liri-wayland_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-liri/liri-wayland/liri-wayland_git.bb b/recipes-liri/liri-wayland/liri-wayland_git.bb index bbbcc50b..698bb93f 100644 --- a/recipes-liri/liri-wayland/liri-wayland_git.bb +++ b/recipes-liri/liri-wayland/liri-wayland_git.bb @@ -25,7 +25,13 @@ DEPENDS += " \ libinput \ " +# egl packageconfig factored out to make it easy for BSP layers to pick what +# machines need +PACKAGECONFIG_EGL ?= "kms" + PACKAGECONFIG ??= " \ + protocols \ + ${PACKAGECONFIG_EGL} \ ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xwayland", "",d)} \ " PACKAGECONFIG[kms] = "-DENABLE_EGLDEVICEINTEGRATION_KMS:BOOL=ON,-DENABLE_EGLDEVICEINTEGRATION_KMS:BOOL=OFF,drm libgbm virtual/egl"