package/elementary: add path to eolian_cxx
authorRomain Naour <romain.naour@gmail.com>
Mon, 18 Jul 2016 20:51:27 +0000 (22:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 20 Jul 2016 21:43:34 +0000 (23:43 +0200)
When efl package is build with Eolian support, eolian_cxx tool is
build for the host.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/elementary/elementary.mk

index 33d40346253c7d295effda73767889415c7b5576..a06809f481ad59dfbf62d40aa77ca82a52797d0f 100644 (file)
@@ -33,5 +33,11 @@ HOST_ELEMENTARY_CONF_OPTS = \
        --with-doxygen=no \
        --disable-elementary-test
 
+# Use Eolian C++ parser only if enabled in the efl stack.
+ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y)
+ELEMENTARY_CONF_OPTS += --with-eolian-cxx=$(HOST_DIR)/usr/bin/eolian_cxx
+HOST_ELEMENTARY_CONF_OPTS += --with-eolian-cxx=$(HOST_DIR)/usr/bin/eolian_cxx
+endif
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))