summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Hunleth <fhunleth@troodon-software.com>2013-09-13 15:46:01 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-09-20 13:18:24 (GMT)
commit205d72c6861c9fe9fc62f398502e4ba3fd48a8b2 (patch)
tree6e8e11904eb3c6280d1ffbe978908cf527e59986
parent55ecab1bbc32f9b4a36b588db1fed4ae0403dd74 (diff)
downloadbuildroot-205d72c6861c9fe9fc62f398502e4ba3fd48a8b2.tar.gz
buildroot-205d72c6861c9fe9fc62f398502e4ba3fd48a8b2.tar.bz2
erlang: pass erl_xcomp_sysroot to configure
This is required for building the 'crypto', 'odbc', 'ssh' and 'ssl' Erlang applications. These apps are skipped regardless of whether they're enabled and their dependencies can be met if this environment variable isn't set. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/erlang/erlang.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/erlang/erlang.mk b/package/erlang/erlang.mk
index 89104c9..b219740 100644
--- a/package/erlang/erlang.mk
+++ b/package/erlang/erlang.mk
@@ -17,6 +17,10 @@ ERLANG_INSTALL_STAGING = YES
# The configure checks for these functions fail incorrectly
ERLANG_CONF_ENV = ac_cv_func_isnan=yes ac_cv_func_isinf=yes
+# Set erl_xcomp variables. See xcomp/erl-xcomp.conf.template
+# for documentation.
+ERLANG_CONF_ENV += erl_xcomp_sysroot=$(STAGING_DIR)
+
ERLANG_CONF_OPT = --without-javac
HOST_ERLANG_CONF_OPT = --without-javac