Browse files

Update xcomp config for AVR32/buildroot-v3.0.0

With Atmel's recent buildroot-v3.0.0 release for AVR32, some changes
were needed in order to properly cross compile Erlang/OTP for the
platform.

Tested with R14B04 on a mk I NGW100.
  • Loading branch information...
1 parent 9a6ad15 commit e89c2af4ce98e4b870b63a0c634bd96c504419f6 @smithwinston smithwinston committed with proxyles Nov 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf
View
4 xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf
@@ -59,7 +59,7 @@ erl_xcomp_host=avr32-atmel-linux-gnu
# * `erl_xcomp_configure_flags' - Extra configure flags to pass to the
# `configure' script.
-#erl_xcomp_configure_flags=
+erl_xcomp_configure_flags="--disable-hipe --disable-threads --disable-smp"
## -- Cross Compiler and Other Tools -------------------------------------------
@@ -73,7 +73,7 @@ erl_xcomp_host=avr32-atmel-linux-gnu
CC=avr32-linux-gcc
# * `CFLAGS' - C compiler flags.
-#CFLAGS=
+CFLAGS="-O -Dfinite=__finite"
# * `STATIC_CFLAGS' - Static C compiler flags.
#STATIC_CFLAGS=

0 comments on commit e89c2af

Please sign in to comment.