diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-04 10:56:35 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-04 10:57:07 +0200 |
commit | e7d5fb78fa670f626349d1dc7eeb7fcd9ef57324 (patch) | |
tree | 7108957f3d71a6c0557df112c479cfced6fb19df /toolchain/gcc/Makefile | |
parent | 92090534ab49bd3e2af33e763d3ca197e52e3a20 (diff) |
revert, unfortunately there is libgcc, which is then build with the wrong options
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 0d309b60f..733dd9ddf 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -87,6 +87,30 @@ else GCC_CONFOPTS+= --enable-target-optspace endif +ifeq ($(ARCH),arm) +GCC_CONFOPTS+= --with-float=$(ADK_TARGET_FLOAT) +ifneq ($(ADK_TARGET_FPU),) +GCC_CONFOPTS+= --with-fpu=$(ADK_TARGET_FPU) +endif +endif + +ifeq ($(ADK_CPU_ARM926EJ_S),y) +GCC_CONFOPTS+= --with-arch=armv5te --with-tune=arm1176jzf-s +endif + +ifeq ($(ADK_CPU_ARM1176JZF_S),y) +GCC_CONFOPTS+= --with-arch=armv6 --with-tune=arm1176jzf-s +endif + +ifeq ($(ADK_CPU_CORTEX_A9),y) +GCC_CONFOPTS+= --with-arch=armv7-a --with-tune=cortex-a9 +endif + +ifeq ($(ADK_CPU_SPARC_V9),y) +GCC_CONFOPTS+= --with-cpu=ultrasparc +endif + + ifneq ($(ADK_TARGET_MIPS_ABI),) GCC_CONFOPTS+= --with-abi=${ADK_TARGET_MIPS_ABI} endif |