Commits

supermaz committed 0f4625c Draft

Updated to my local infrastructure

Comments (0)

Files changed (1)

 # for yagarto, use ARM_ABI=none-eabi
 ARM_ABI=elf
 
-ARM_PATH=~/arm-toolchain462
+ARM_PATH=~/arm-toolchain
 ARM_BINPATH=$(ARM_PATH)/bin
-GCC_VERSION=4.6.2
+GCC_VERSION=4.6.0
 CC=$(ARM_BINPATH)/arm-$(ARM_ABI)-gcc-$(GCC_VERSION)
 OBJCOPY=$(ARM_BINPATH)/arm-$(ARM_ABI)-objcopy
 AR=$(ARM_BINPATH)/arm-$(ARM_ABI)-ar
 ARM_LIBC_A = $(ARM_PATH)/arm-$(ARM_ABI)/lib/libc.a
 LD=$(CC)
 HOST_CC=gcc
-HOST_CFLAGS=-g -O3 -W -Wall
+HOST_CFLAGS=-g -O3 -W -Wall -mlong-calls
 
 # Naming convention for Magic Lantern builds:
 # General rules:
 	-D__ARM__ \
 	-I$(PLATFORM_INC) \
 	-I$(SRC_DIR) \
+	-mlong-calls\
 
 ifeq ($(CONFIG_PYMITE),y)
 CFLAGS += $(PYMITE_CFLAGS)