mirror of
https://git.yoctoproject.org/poky
synced 2026-06-12 04:40:24 +00:00
waffle: Use the right dependencies as needed
using virtual/libgl is a broad brush, we can be more specific and ask for dependencies which are really needed (From OE-Core rev: d96fdf89efa95dc5e42e01ba970afd3645ced3bc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -31,16 +31,16 @@ REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX
|
||||
# I say virtual/libgl, actually wants gl.pc
|
||||
PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,virtual/${MLPREFIX}libgl libx11"
|
||||
|
||||
# I say virtual/libgl, actually wants wayland-egl.pc, egl.pc, and the wayland
|
||||
# wants wayland-egl.pc, egl.pc, and the wayland
|
||||
# DISTRO_FEATURE.
|
||||
PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}libgl wayland wayland-native wayland-protocols"
|
||||
PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}egl wayland wayland-native wayland-protocols"
|
||||
|
||||
# I say virtual/libgl, actually wants gbm.pc egl.pc
|
||||
PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/${MLPREFIX}libgl udev"
|
||||
# wants gbm.pc egl.pc
|
||||
PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/${MLPREFIX}egl virtual/${MLPREFIX}libgbm udev"
|
||||
|
||||
# I say virtual/libgl, actually wants egl.pc
|
||||
PACKAGECONFIG[x11-egl] = "-Dx11_egl=enabled,-Dx11_egl=disabled,virtual/${MLPREFIX}libgl libxcb"
|
||||
PACKAGECONFIG[surfaceless-egl] = "-Dsurfaceless_egl=enabled,-Dsurfaceless_egl=disabled,virtual/${MLPREFIX}libgl"
|
||||
# wants egl.pc
|
||||
PACKAGECONFIG[x11-egl] = "-Dx11_egl=enabled,-Dx11_egl=disabled,virtual/${MLPREFIX}egl libxcb"
|
||||
PACKAGECONFIG[surfaceless-egl] = "-Dsurfaceless_egl=enabled,-Dsurfaceless_egl=disabled,virtual/${MLPREFIX}egl"
|
||||
|
||||
# TODO: optionally build manpages and examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user