mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 21:32:13 +02:00
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:
committed by
Richard Purdie
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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user