mirror of
https://git.yoctoproject.org/poky
synced 2026-05-06 05:27:54 +02:00
waffle: supprt build waffle without x11
respect DISTRO_FEATURES to make waffle support different platform, gbm platform is supported by default. [YOCTO #6077] (From OE-Core rev: 37dc4ad4a87fb9042dc3e9bb389cedc8b5acadf7) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7603f21aad
commit
c40482a68e
@@ -15,10 +15,9 @@ inherit cmake distro_features_check lib_package
|
||||
|
||||
# This should be overridden per-machine to reflect the capabilities of the GL
|
||||
# stack.
|
||||
PACKAGECONFIG ??= "glx"
|
||||
|
||||
# libx11 requires x11 in DISTRO_FEATURES.
|
||||
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'glx', 'x11', '', d)}"
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
|
||||
gbm"
|
||||
|
||||
# virtual/libgl requires opengl in DISTRO_FEATURES.
|
||||
REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}"
|
||||
|
||||
Reference in New Issue
Block a user