|
@@ -23,7 +23,6 @@ EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \
|
|
|
jpeg luajit udev util-linux zlib
|
|
|
|
|
|
# Configure options:
|
|
|
-# --disable-cxx-bindings: disable C++11 bindings.
|
|
|
# --disable-lua-old: build elua for the target.
|
|
|
# --disable-sdl: disable sdl2 support.
|
|
|
# --disable-systemd: disable systemd support.
|
|
@@ -33,7 +32,6 @@ EFL_CONF_OPTS = \
|
|
|
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
|
|
|
--with-elua=$(HOST_DIR)/usr/bin/elua \
|
|
|
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
|
|
|
- --disable-cxx-bindings \
|
|
|
--disable-lua-old \
|
|
|
--disable-sdl \
|
|
|
--disable-systemd \
|
|
@@ -45,6 +43,13 @@ ifeq ($(BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG),)
|
|
|
EFL_CONF_OPTS += --enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y)
|
|
|
+EFL_CONF_OPTS += --enable-cxx-bindings \
|
|
|
+ --with-eolian-cxx=$(HOST_DIR)/usr/bin/eolian_cxx
|
|
|
+else
|
|
|
+EFL_CONF_OPTS += --disable-cxx-bindings
|
|
|
+endif
|
|
|
+
|
|
|
ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y)
|
|
|
EFL_DEPENDENCIES += util-linux
|
|
|
EFL_CONF_OPTS += --enable-libmount
|
|
@@ -216,7 +221,8 @@ $(eval $(autotools-package))
|
|
|
################################################################################
|
|
|
|
|
|
# We want to build only some host tools used later in the build.
|
|
|
-# Actually we want: edje_cc, embryo_cc and eet.
|
|
|
+# Actually we want: edje_cc, eet and embryo_cc. eolian_cxx is built only
|
|
|
+# if selected for the target.
|
|
|
|
|
|
# Host dependencies:
|
|
|
# * host-dbus: for Eldbus
|
|
@@ -236,7 +242,6 @@ HOST_EFL_DEPENDENCIES = \
|
|
|
|
|
|
# Configure options:
|
|
|
# --disable-audio, --disable-multisense remove libsndfile dependency.
|
|
|
-# --disable-cxx-bindings: disable C++11 bindings.
|
|
|
# --disable-fontconfig: remove dependency on fontconfig.
|
|
|
# --disable-fribidi: remove dependency on libfribidi.
|
|
|
# --disable-gstreamer1: remove dependency on gtreamer 1.0.
|
|
@@ -251,7 +256,6 @@ HOST_EFL_DEPENDENCIES = \
|
|
|
# Yes I really know what I am doing.
|
|
|
HOST_EFL_CONF_OPTS += \
|
|
|
--disable-audio \
|
|
|
- --disable-cxx-bindings \
|
|
|
--disable-fontconfig \
|
|
|
--disable-fribidi \
|
|
|
--disable-gstreamer1 \
|
|
@@ -270,4 +274,13 @@ HOST_EFL_CONF_OPTS += \
|
|
|
--with-x11=none \
|
|
|
--enable-i-really-know-what-i-am-doing-and-that-this-will-probably-break-things-and-i-will-fix-them-myself-and-send-patches-abb
|
|
|
|
|
|
+# Enable Eolian language bindings to provide eolian_cxx tool for the
|
|
|
+# host which is required to build Eolian language bindings for the
|
|
|
+# target.
|
|
|
+ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y)
|
|
|
+HOST_EFL_CONF_OPTS += --enable-cxx-bindings
|
|
|
+else
|
|
|
+HOST_EFL_CONF_OPTS += --disable-cxx-bindings
|
|
|
+endif
|
|
|
+
|
|
|
$(eval $(host-autotools-package))
|