From 0b6ee788a600073196cbfbd89c565fba849d696f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Jul 2014 21:13:36 +0200 Subject: add different arm architectures for toolchain building --- toolchain/gcc/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'toolchain') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 17b83f41f..10afc0422 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -114,6 +114,18 @@ GCC_CONFOPTS+= --with-fpu=$(ADK_TARGET_FPU) endif endif +ifeq ($(ADK_CPU_ARMV5TE),y) +GCC_CONFOPTS+= --with-arch=armv5te +endif + +ifeq ($(ADK_CPU_ARMV6),y) +GCC_CONFOPTS+= --with-arch=armv6 +endif + +ifeq ($(ADK_CPU_ARMV7A),y) +GCC_CONFOPTS+= --with-arch=armv7-a +endif + ifeq ($(ADK_CPU_ARM926EJ_S),y) GCC_CONFOPTS+= --with-arch=armv5te --with-tune=arm926ej-s endif -- cgit v1.2.3