File: rebar.cross_compile.config.sample

package info (click to toggle)
erlang-p1-sqlite3 1.1.5~dfsg0-3~bpo8+1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 276 kB
  • sloc: ansic: 1,342; erlang: 1,326; makefile: 53; sh: 1
file content (13 lines) | stat: -rw-r--r-- 909 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
% -*- mode: erlang -*-
{port_envs, [{"HOST", "arm-none-linux-gnueabi"},
             {"CROSS_COMPILE_ROOT", "/home/aromanov"},
             {"SQLITE_CROSS_COMPILED", "$CROSS_COMPILE_ROOT/sqlite-arm"},
             {"CROSS_COMPILE_TOOLCHAIN", "$CROSS_COMPILE_ROOT/sbctools/arm-2007q3"},
             {"OTPROOT_CROSS_COMPILED", "$CROSS_COMPILE_ROOT/otp_arm_compiled"},
             {"ERL_INTERFACE_VERSION", "3.7.1"},
             {"ERL_INTERFACE_LIB", "$OTPROOT_CROSS_COMPILED/lib/erl_interface-$ERL_INTERFACE_VERSION/lib"},
             {"CC", "$CROSS_COMPILE_TOOLCHAIN/bin/$HOST-gcc"},
             {"LD", "$CROSS_COMPILE_TOOLCHAIN/bin/$HOST-ld"},
             {"ERL_LDFLAGS", " -L$ERL_INTERFACE_LIB -lerl_interface -lei"},
             {"DRV_LDFLAGS", "$DRV_LDFLAGS -L$SQLITE_CROSS_COMPILED/usr/local/lib -lsqlite3"},
             {"DRV_CFLAGS", "$DRV_CFLAGS -I$SQLITE_CROSS_COMPILED/usr/local/include"}]}.