mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
Globally replace 'base_contains' calls with 'bb.utils.contains'
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. (From OE-Core rev: d83b16dbf0862be387f84228710cb165c6d2b03b) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
08a38a7865
commit
4c14b09498
@@ -5,7 +5,7 @@ PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
|
||||
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
|
||||
|
||||
XSERVER ?= "xserver-xorg \
|
||||
${@base_contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-swrast', '', d)} \
|
||||
xf86-input-evdev \
|
||||
xf86-input-mouse \
|
||||
xf86-video-fbdev \
|
||||
|
||||
@@ -33,16 +33,16 @@ XSERVER_X86_BASE = "xserver-xorg \
|
||||
"
|
||||
|
||||
XSERVER_X86_EXT = " \
|
||||
${@base_contains('DISTRO_FEATURES', 'opengl', 'xserver-xorg-extension-glx', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'xserver-xorg-extension-glx', '', d)} \
|
||||
xserver-xorg-module-libint10 \
|
||||
"
|
||||
|
||||
XSERVER_X86_I915 = "xf86-video-intel \
|
||||
${@base_contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-i915', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-i915', '', d)} \
|
||||
"
|
||||
|
||||
XSERVER_X86_I965 = "xf86-video-intel \
|
||||
${@base_contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-i965', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-i965', '', d)} \
|
||||
"
|
||||
|
||||
XSERVER_X86_VESA = "xf86-video-vesa"
|
||||
|
||||
Reference in New Issue
Block a user