|
@@ -28,7 +28,6 @@ EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
|
|
# --disable-sdl: disable sdl2 support.
|
|
# --disable-sdl: disable sdl2 support.
|
|
# --disable-spectre: disable spectre image loader.
|
|
# --disable-spectre: disable spectre image loader.
|
|
# --disable-xinput22: disable X11 XInput v2.2+ support.
|
|
# --disable-xinput22: disable X11 XInput v2.2+ support.
|
|
-# --with-opengl=none: disable opengl support.
|
|
|
|
# --with-doxygen: disable doxygen documentation
|
|
# --with-doxygen: disable doxygen documentation
|
|
EFL_CONF_OPTS = \
|
|
EFL_CONF_OPTS = \
|
|
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
|
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
|
@@ -43,8 +42,7 @@ EFL_CONF_OPTS = \
|
|
--disable-sdl \
|
|
--disable-sdl \
|
|
--disable-spectre \
|
|
--disable-spectre \
|
|
--disable-xinput22 \
|
|
--disable-xinput22 \
|
|
- --with-doxygen=no \
|
|
|
|
- --with-opengl=none
|
|
|
|
|
|
+ --with-doxygen=no
|
|
|
|
|
|
# Disable untested configuration warning.
|
|
# Disable untested configuration warning.
|
|
ifeq ($(BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG),)
|
|
ifeq ($(BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG),)
|
|
@@ -182,6 +180,17 @@ else
|
|
EFL_CONF_OPTS += --with-x11=none
|
|
EFL_CONF_OPTS += --with-x11=none
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_EFL_OPENGL),y)
|
|
|
|
+EFL_CONF_OPTS += --with-opengl=full
|
|
|
|
+EFL_DEPENDENCIES += libgl
|
|
|
|
+# OpenGL ES requires EGL
|
|
|
|
+else ifeq ($(BR2_PACKAGE_EFL_OPENGLES),y)
|
|
|
|
+EFL_CONF_OPTS += --with-opengl=es --enable-egl
|
|
|
|
+EFL_DEPENDENCIES += libegl libgles
|
|
|
|
+else ifeq ($(BR2_PACKAGE_EFL_OPENGL_NONE),y)
|
|
|
|
+EFL_CONF_OPTS += --with-opengl=none
|
|
|
|
+endif
|
|
|
|
+
|
|
# Loaders that need external dependencies needs to be --enable-XXX=yes
|
|
# Loaders that need external dependencies needs to be --enable-XXX=yes
|
|
# otherwise the default is '=static'.
|
|
# otherwise the default is '=static'.
|
|
# All other loaders are statically built-in
|
|
# All other loaders are statically built-in
|