diff --git a/makefile b/makefile index 21b007dd13..2fa7ba0eff 100644 --- a/makefile +++ b/makefile @@ -140,6 +140,21 @@ ifeq ($(arch),powerpc) object-format = elf32-powerpc pointer-size = 4 endif +ifeq ($(arch),arm) + lflags := -L/opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linux-gnu/lib -L$(root)/arm/lib $(lflags) + cflags := -I/opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include -I$(root)/arm/include $(cflags) + + asm = arm + object-arch = arm + object-format = elf32-littlearm + pointer-size = 4 + cxx = arm-unknown-linux-gnu-g++ + cc = arm-unknown-linux-gnu-gcc + ar = arm-unknown-linux-gnu-ar + ranlib = arm-unknown-linux-gnu-ranlib + objcopy = arm-unknown-linux-gnu-objcopy + strip = arm-unknown-linux-gnu-strip +endif ifeq ($(platform),darwin) build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src)