Message ID | 20220307040830.3567054-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] fbida: Fix build when x11 is not enabled in distro features | expand |
diff --git a/meta-oe/recipes-graphics/fbida/fbida_2.14.bb b/meta-oe/recipes-graphics/fbida/fbida_2.14.bb index c1ef3430c2..bc6f021e6b 100644 --- a/meta-oe/recipes-graphics/fbida/fbida_2.14.bb +++ b/meta-oe/recipes-graphics/fbida/fbida_2.14.bb @@ -39,6 +39,8 @@ PACKAGECONFIG[egl] = ",," EXTRA_OEMAKE += ""${@bb.utils.contains('PACKAGECONFIG', 'egl', 'HAVE_CAIRO_GL=yes', 'HAVE_CAIRO_GL=no', d)}"" +CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" + do_compile() { sed -i -e 's# fbgs# \$(srcdir)/fbgs#; s#-Ijpeg#-I\$(srcdir)/jpeg#; s# jpeg/# \$(srcdir)/jpeg/#' ${S}/GNUmakefile sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- meta-oe/recipes-graphics/fbida/fbida_2.14.bb | 2 ++ 1 file changed, 2 insertions(+)