diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-12-25 19:43:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-31 09:43:25 +0000 |
commit | b7515e25bfaa45c931a512d4850b75125fc18a68 (patch) | |
tree | 60873dfc5f68c334f521488c1ae5c9f730627b41 /meta/recipes-graphics | |
parent | 83e81485aa1a8454fdf78c624f61e75abca4067a (diff) | |
download | poky-b7515e25bfaa45c931a512d4850b75125fc18a68.tar.gz |
xf86-video-omap: skip package if opengl isn't in DISTRO_FEATURES
(From OE-Core rev: 4c2434271cfc41e910969266ced9e5f06ee0c732)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb | 6 |
1 files changed, 6 insertions, 0 deletions
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 dea8ca28a0..f74419f94f 100644 --- a/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb | |||
@@ -40,3 +40,9 @@ CFLAGS += " -I${STAGING_INCDIR}/xorg " | |||
40 | do_compile_prepend_armv7a () { | 40 | do_compile_prepend_armv7a () { |
41 | sed -i -e s:fb1:fb2:g ${S}/src/omap_xv.c | 41 | sed -i -e s:fb1:fb2:g ${S}/src/omap_xv.c |
42 | } | 42 | } |
43 | |||
44 | python () { | ||
45 | if not oe.utils.contains ('DISTRO_FEATURES', 'opengl', True, False, d): | ||
46 | raise bb.parse.SkipPackage("'opengl' not in DISTRO_FEATURES") | ||
47 | } | ||
48 | |||