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>
This commit is contained in:
parent
83e81485aa
commit
b7515e25bf
|
@ -40,3 +40,9 @@ CFLAGS += " -I${STAGING_INCDIR}/xorg "
|
|||
do_compile_prepend_armv7a () {
|
||||
sed -i -e s:fb1:fb2:g ${S}/src/omap_xv.c
|
||||
}
|
||||
|
||||
python () {
|
||||
if not oe.utils.contains ('DISTRO_FEATURES', 'opengl', True, False, d):
|
||||
raise bb.parse.SkipPackage("'opengl' not in DISTRO_FEATURES")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue