[Buildroot] [PATCH v5 22/36] package/efl/libelementary: add host package
Romain Naour
romain.naour at openwide.fr
Sat Oct 24 21:01:02 UTC 2015
elm_prefs_cc builded for the host machine is
needed to cross-compile correctly libelementary
for the target. Otherwise, elm_prefs_cc for the
target is used on the host machine.
Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
v4: use libefl
reword the commit message
---
package/efl/libelementary/libelementary.mk | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/package/efl/libelementary/libelementary.mk b/package/efl/libelementary/libelementary.mk
index a2c4a60..4ba8681 100644
--- a/package/efl/libelementary/libelementary.mk
+++ b/package/efl/libelementary/libelementary.mk
@@ -12,14 +12,26 @@ LIBELEMENTARY_LICENSE_FILES = COPYING
LIBELEMENTARY_INSTALL_STAGING = YES
-LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-libefl libefl
+LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-libefl host-libelementary libefl
LIBELEMENTARY_CONF_OPTS = \
--with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
--with-eet-eet=$(HOST_DIR)/usr/bin/eet \
--with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
--with-eldbus_codegen=$(HOST_DIR)/usr/bin/eldbus-codegen \
+ --with-elm-prefs-cc=$(HOST_DIR)/usr/bin/elm_prefs_cc \
+ --with-doxygen=no \
+ --disable-elementary-test
+
+# We need a host package in order to provide elm_prefs_cc and
+# elementary_codegen.
+HOST_LIBELEMENTARY_DEPENDENCIES = host-pkgconf host-libefl
+HOST_LIBELEMENTARY_CONF_OPTS = \
+ --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
+ --with-eet-eet=$(HOST_DIR)/usr/bin/eet \
+ --with-eolian-gen=$(HOST_DIR)/usr/bin/eolian_gen \
--with-doxygen=no \
--disable-elementary-test
$(eval $(autotools-package))
+$(eval $(host-autotools-package))
--
2.4.3
More information about the buildroot
mailing list