[Buildroot] [PATCH v5 11/36] package/efl/libefl: add frame buffer config option

Romain Naour romain.naour at openwide.fr
Sat Oct 24 21:00:51 UTC 2015


Add an config option to enable frame buffer support
in the efl libraries.

>From the README [1]:
This requires linux frame-buffer support, headers etc. This supports
basic frame-buffers like /dev/fb as well as input via /dev/input for
keyboards and mice in a basic way.

[1] https://git.enlightenment.org/core/efl.git/tree/README?id=v1.15.2#n521

Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
v4: rename to libefl
    improve commit log
---
 package/efl/libefl/Config.in | 5 +++++
 package/efl/libefl/libefl.mk | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/package/efl/libefl/Config.in b/package/efl/libefl/Config.in
index c72ea7e..e25911f 100644
--- a/package/efl/libefl/Config.in
+++ b/package/efl/libefl/Config.in
@@ -37,6 +37,11 @@ config BR2_PACKAGE_LIBEFL_RECOMMENDED_CONFIG
 	  otherwise we need to add a very long and obscure option
 	  to start the build.
 
+comment "libecore video support"
+
+config BR2_PACKAGE_LIBEFL_FB
+	bool "libecore framebuffer support"
+
 comment "libevas loaders"
 
 config BR2_PACKAGE_LIBEFL_PNG
diff --git a/package/efl/libefl/libefl.mk b/package/efl/libefl/libefl.mk
index 9633630..3a4aab1 100644
--- a/package/efl/libefl/libefl.mk
+++ b/package/efl/libefl/libefl.mk
@@ -166,6 +166,12 @@ else
 LIBEFL_CONF_OPTS += --enable-wayland=no
 endif
 
+ifeq ($(BR2_PACKAGE_LIBEFL_FB),y)
+LIBEFL_CONF_OPTS += --enable-fb=yes
+else
+LIBEFL_CONF_OPTS += --enable-fb=no
+endif
+
 # image loader: handle only loaders that requires dependencies.
 # All other loaders are builded by default statically.
 ifeq ($(BR2_PACKAGE_LIBEFL_PNG),y)
-- 
2.4.3



More information about the buildroot mailing list