diff options
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/cpu/mips32/config.mk | 7 | ||||
| -rw-r--r-- | arch/mips/cpu/mips64/config.mk | 7 | ||||
| -rw-r--r-- | arch/mips/cpu/xburst/config.mk | 3 | ||||
| -rw-r--r-- | arch/mips/lib/Makefile | 7 | 
4 files changed, 9 insertions, 15 deletions
| diff --git a/arch/mips/cpu/mips32/config.mk b/arch/mips/cpu/mips32/config.mk index 7ee7faae8..332cd62c7 100644 --- a/arch/mips/cpu/mips32/config.mk +++ b/arch/mips/cpu/mips32/config.mk @@ -11,9 +11,7 @@  # Note: Toolchains with binutils prior to v2.16  # are no longer supported by U-Boot MIPS tree!  # -MIPSFLAGS := -march=mips32r2 - -PLATFORM_CPPFLAGS += $(MIPSFLAGS) +PLATFORM_CPPFLAGS += -DCONFIG_MIPS32 -march=mips32r2  PLATFORM_CPPFLAGS += -mabi=32 -DCONFIG_32BIT  ifdef CONFIG_SYS_BIG_ENDIAN  PLATFORM_LDFLAGS  += -m elf32btsmip @@ -21,4 +19,5 @@ else  PLATFORM_LDFLAGS  += -m elf32ltsmip  endif -CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T $(srctree)/$(src)/mips.lds +CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \ +			       -T $(srctree)/examples/standalone/mips.lds diff --git a/arch/mips/cpu/mips64/config.mk b/arch/mips/cpu/mips64/config.mk index 02113a1f0..c55eb7f2e 100644 --- a/arch/mips/cpu/mips64/config.mk +++ b/arch/mips/cpu/mips64/config.mk @@ -11,9 +11,7 @@  # Note: Toolchains with binutils prior to v2.16  # are no longer supported by U-Boot MIPS tree!  # -MIPSFLAGS = -march=mips64 - -PLATFORM_CPPFLAGS += $(MIPSFLAGS) +PLATFORM_CPPFLAGS += -DCONFIG_MIPS64 -march=mips64  PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT  ifdef CONFIG_SYS_BIG_ENDIAN  PLATFORM_LDFLAGS  += -m elf64btsmip @@ -21,4 +19,5 @@ else  PLATFORM_LDFLAGS  += -m elf64ltsmip  endif -CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 -T $(srctree)/$(src)/mips64.lds +CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 \ +			       -T $(srctree)/examples/standalone/mips64.lds diff --git a/arch/mips/cpu/xburst/config.mk b/arch/mips/cpu/xburst/config.mk index 00b0fd9c9..b8e53e55c 100644 --- a/arch/mips/cpu/xburst/config.mk +++ b/arch/mips/cpu/xburst/config.mk @@ -12,4 +12,5 @@ else  PLATFORM_LDFLAGS  += -m elf32ltsmip  endif -CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T $(srctree)/$(src)/mips.lds +CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \ +			       -T $(srctree)/examples/standalone/mips.lds diff --git a/arch/mips/lib/Makefile b/arch/mips/lib/Makefile index 370592668..fabeb83f7 100644 --- a/arch/mips/lib/Makefile +++ b/arch/mips/lib/Makefile @@ -8,9 +8,4 @@  obj-y	+= board.o  obj-$(CONFIG_CMD_BOOTM) += bootm.o -# Build private libgcc only when asked for -ifdef USE_PRIVATE_LIBGCC -lib-y	+= ashldi3.o -lib-y	+= ashrdi3.o -lib-y	+= lshrdi3.o -endif +lib-$(CONFIG_USE_PRIVATE_LIBGCC) += ashldi3.o ashrdi3.o lshrdi3.o |