fbida: add PACKAGECONFIG for lirc
PATCH 1/1 fbida: add PACKAGECONFIG for lirc
Signed-off-by Martin Jansa <[email protected]>
--- meta-oe/recipes-graphics/fbida/fbida_2.10.bb | 4 ++++ 1 file changed, 4 insertions(+)
meta-oe/recipes-graphics/fbida/fbida_2.10.bb +4 -0
@@ -23,6 +23,7 @@ PACKAGECONFIG[png] = ",,libpng" PACKAGECONFIG[tiff] = ",,tiff" PACKAGECONFIG[motif] = ",,libx11 libxext libxpm libxt openmotif" PACKAGECONFIG[webp] = ",,libwebp" +PACKAGECONFIG[lirc] = ",,lirc" do_compile() { sed -i -e 's:/sbin/ldconfig:echo x:' ${S}/mk/Autoconf.mk
@@ -48,6 +49,9 @@ do_compile() { if [ -z "${@base_contains('PACKAGECONFIG', 'webp', 'webp', '', d)}" ]; then sed -i -e '/^HAVE_LIBWEBP/s/:=.*$/:= no/' ${S}/GNUmakefile fi + if [ -z "${@base_contains('PACKAGECONFIG', 'lirc', 'lirc', '', d)}" ]; then + sed -i -e '/^HAVE_LIBLIRC/s/:=.*$/:= no/' ${S}/GNUmakefile + fi oe_runmake }
Signature · 1 line
2.6.3