liri-wayland_git: rework PACKAGECONFIG defaults
* 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 <schnitzeltony@googlemail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user