diff options
author | smithwinston <smith.winston.101@gmail.com> | 2011-10-11 12:44:34 -0400 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-11-26 10:38:27 +0100 |
commit | 1eaf88d1d0f35047ade13f0b6af4fd8ebb0f725f (patch) | |
tree | 596300b60aa187113d43c48dd62a54eeaec98c79 /bootstrap | |
parent | a54dd53673444fc4227341ecfdd78fb2710b600d (diff) |
Add root_dir option to reltool.config
When generating a node using rebar generate, rebar always used
code:root_dir() to find the Erlang installation to clone into the node
tree. However, for anyone wishing to build a cross-compiled node, there
was no way to override this. This patch adds a new option to
reltool.config file to allow an alternate root_dir to be specified, for
example:
{root_dir, "/tmp/otp_R14B03_armv7l"}
This assumes that the contents of /tmp/otp_R14B03_armv7l has been
generated using the instructions found in the xcomp directory in your
$ERL_TOP structure. NOTE: you may have to add additional filters to
exclude files not present in the xcomp version, such as the .smp files
if you have disabled that.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions