From 08a38a7865c41ec60f4b993b964f8d477ea0f680 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 24 Apr 2014 15:59:19 -0300 Subject: Globally replace oe.utils.contains to bb.utils.contains BitBake has the exact same code as oe.utils.contains so there's no reason to duplicate it. We now rely on the bb.utils.contains code for metadata. (From OE-Core rev: 93499ebc46547f5bf6dcecd5a786ead9f726de28) Signed-off-by: Otavio Salvador Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb') diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb b/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb index 97941ecc0c..454d0a1fb2 100644 --- a/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb @@ -42,7 +42,7 @@ do_compile_prepend_armv7a () { } python () { - if not oe.utils.contains ('DISTRO_FEATURES', 'opengl', True, False, d): + if not bb.utils.contains ('DISTRO_FEATURES', 'opengl', True, False, d): raise bb.parse.SkipPackage("'opengl' not in DISTRO_FEATURES") } -- cgit v1.2.3-54-g00ecf