mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
apitrace: Conditionally enable X11 support
In case DISTRO_FEATURES contain both x11 and opengl, enable X11 support in apitrace, because all the requirements are satisfied. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -16,9 +16,11 @@ DEPENDS += "zlib libpng python3-native"
|
||||
|
||||
inherit cmake
|
||||
|
||||
PACKAGECONFIG ??= " ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11', '', d)} "
|
||||
PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF,libx11"
|
||||
|
||||
EXTRA_OECMAKE += "\
|
||||
-DENABLE_GUI=OFF \
|
||||
-DENABLE_X11=OFF \
|
||||
-DENABLE_STATIC_LIBGCC=OFF \
|
||||
-DENABLE_STATIC_LIBSTDCXX=OFF \
|
||||
-DPython3_ROOT_DIR=/usr/bin/python3-native \
|
||||
|
||||
Reference in New Issue
Block a user