[meta-intel] [PATCH 1/6] xf86-video-mga: Replace base_contains with bb.utils.contains

Tom Zanussi tom.zanussi at linux.intel.com
Mon May 16 07:34:18 PDT 2016


base_contains() is now deprecated - replace with the equivalent
bb.utils.contains().

Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
---
 common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.4.bb b/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.4.bb
index 937f1a1..36b75b2 100644
--- a/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.4.bb
+++ b/common/recipes-graphics/xorg-driver/xf86-video-mga_1.6.4.bb
@@ -17,7 +17,7 @@ COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
 SRC_URI[md5sum] = "cd3db8370caa3e607614ea4e74d4c350"
 SRC_URI[sha256sum] = "48c6690b6751c76f53de64f8dbeaa9d6c62dbcfe890c768fd87167951247d44f"
 
-PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}"
+PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}"
 PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xf86driproto,xserver-xorg-extension-dri"
 
 RDEPENDS_${PN} = "xserver-xorg-module-exa"
-- 
1.9.3



More information about the meta-intel mailing list