diff options
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2012-08-21 21:27:37 (GMT) |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2012-08-23 22:34:43 (GMT) |
commit | 2c0e3de384f6a3323a1ffbf5db390b3081c3e102 (patch) | |
tree | 00ab584b5fd0d49c3f22bccdaa184e5119237efe /arch/mips/cpu/mips32/config.mk | |
parent | d2aa5dca74fcf8cbe7fa1f27606a5663bb52d3e6 (diff) | |
download | u-boot-2c0e3de384f6a3323a1ffbf5db390b3081c3e102.tar.xz |
MIPS: factor out endianess flag handling to arch config.mk
This is CPU independent and should be configured architecture-wide.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/cpu/mips32/config.mk')
-rw-r--r-- | arch/mips/cpu/mips32/config.mk | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/mips/cpu/mips32/config.mk b/arch/mips/cpu/mips32/config.mk index a1cd590..a0e4de5 100644 --- a/arch/mips/cpu/mips32/config.mk +++ b/arch/mips/cpu/mips32/config.mk @@ -29,21 +29,4 @@ # MIPSFLAGS := -march=mips32r2 -# Handle special prefix in ELDK 4.0 toolchain -ifneq (,$(findstring 4KCle,$(CROSS_COMPILE))) -ENDIANNESS := -EL -endif - -ifdef CONFIG_SYS_LITTLE_ENDIAN -ENDIANNESS := -EL -endif - -ifdef CONFIG_SYS_BIG_ENDIAN -ENDIANNESS := -EB -endif - -# Default to EB if no endianess is configured -ENDIANNESS ?= -EB - -PLATFORM_CPPFLAGS += $(MIPSFLAGS) $(ENDIANNESS) -PLATFORM_LDFLAGS += $(ENDIANNESS) +PLATFORM_CPPFLAGS += $(MIPSFLAGS) |