> If you didn't want to list every arm processor there, neither do it here.
Maybe this?
ifneq ($(filter -march=armv%,$(TARGET_OPTIMIZATION)),)
ARCH_SUFFIX:=_$(patsubst -march=arm%,%,$(filter
-march=armv%,$(TARGET_OPTIMIZATION)))
endif
~ Jow
___
ope
On Tue, 15 Feb 2011 22:45:26 +0100, Felix Fietkau wrote:
On 2011-02-15 10:12 PM, Jochen Friedrich wrote:
In this case we should convert the ifneq contructs in rules.mk, as
well, to make sure each arch is compiled with the correctly
configured compiler:
ifneq ($(findstring -march=armv4,$(TARGE
On 2011-02-15 10:12 PM, Jochen Friedrich wrote:
> In this case we should convert the ifneq contructs in rules.mk, as
> well, to make sure each arch is compiled with the correctly
> configured compiler:
>
> ifneq ($(findstring -march=armv4,$(TARGET_OPTIMIZATION)),)
>ARCH_SUFFIX:=_v4
> endif
>
Hi Felix,
+GCC_ARCH:=
+ifneq ($(findstring -march=armv4,$(TARGET_OPTIMIZATION)),)
+ GCC_ARCH:=armv4
+endif
+ifneq ($(findstring -march=armv4t,$(TARGET_OPTIMIZATION)),)
+ GCC_ARCH:=armv4t
+endif
+ifneq ($(findstring -march=armv5t,$(TARGET_OPTIMIZATION)),)
+ GCC_ARCH:=armv5t
+endif
+ifneq ($(fi
On 2011-02-15 6:36 PM, Jochen Friedrich wrote:
> We use different toolchain directories for different
> ARM archs, so we should set the default arch of gcc
> to reflect this.
>
> This enables EABI support for armv4 CPUs.
>
> Signed-off-by: Jochen Friedrich
> ---
> toolchain/gcc/common.mk | 18
We use different toolchain directories for different
ARM archs, so we should set the default arch of gcc
to reflect this.
This enables EABI support for armv4 CPUs.
Signed-off-by: Jochen Friedrich
---
toolchain/gcc/common.mk | 18 ++
1 files changed, 18 insertions(+), 0 deletio