Thu Mar 23 19:01:22 EDT 2017

buildroot cross compile

Somehow '-L/usr/lib/erlang/lib/erl_interface-3.9.1/lib' gets added
from the Debian host.  Is this rebar or jiffy doing that?

i586-linux-g++: WARNING: unsafe header/library path used in cross-compilation: '-L/usr/lib/erlang/lib/erl_interface-3.9.1/lib'
/home/tom/pub/git/rootfs/buildroot/output/host/usr/lib/gcc/i586-buildroot-linux-uclibc/5.4.0/../../../../i586-buildroot-linux-uclibc/bin/ld: warning: library search path "/usr/lib/erlang/lib/erl_interface-3.9.1/lib" is unsafe for cross-compilation

Seems simpler to let erlang build a complete release, and not include
the erlang runtime system in the root directory?

Or just delete it, and overwrite the release.

Currently it's still picking the wrong runtime system.