fbida: Fix build when x11 is not enabled in distro features
PATCH 1/1 fbida: Fix build when x11 is not enabled in distro features
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-graphics/fbida/fbida_2.14.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-graphics/fbida/fbida_2.14.bb +2 -0
@@ -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
Signature · 1 line
2.35.1