diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 861da514a468..c825b14b4ed0 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -120,7 +120,11 @@ cflags-$(CONFIG_CPU_R4300) += -march=r4300 -Wa,--trap | |||
120 | cflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap | 120 | cflags-$(CONFIG_CPU_VR41XX) += -march=r4100 -Wa,--trap |
121 | cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap | 121 | cflags-$(CONFIG_CPU_R4X00) += -march=r4600 -Wa,--trap |
122 | cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap | 122 | cflags-$(CONFIG_CPU_TX49XX) += -march=r4600 -Wa,--trap |
123 | cflags-$(CONFIG_CPU_LOONGSON2) += -march=r4600 -Wa,--trap | 123 | # only gcc >= 4.4 have the loongson-specific support |
124 | cflags-$(CONFIG_CPU_LOONGSON2) += -Wa,--trap | ||
125 | cflags-$(CONFIG_CPU_LOONGSON2E) += \ | ||
126 | $(call cc-option,-march=loongson2e,-march=r4600) | ||
127 | |||
124 | cflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \ | 128 | cflags-$(CONFIG_CPU_MIPS32_R1) += $(call cc-option,-march=mips32,-mips32 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \ |
125 | -Wa,-mips32 -Wa,--trap | 129 | -Wa,-mips32 -Wa,--trap |
126 | cflags-$(CONFIG_CPU_MIPS32_R2) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \ | 130 | cflags-$(CONFIG_CPU_MIPS32_R2) += $(call cc-option,-march=mips32r2,-mips32r2 -U_MIPS_ISA -D_MIPS_ISA=_MIPS_ISA_MIPS32) \ |
@@ -314,11 +318,12 @@ cflags-$(CONFIG_WR_PPMC) += -I$(srctree)/arch/mips/include/asm/mach-wrppmc | |||
314 | load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 | 318 | load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 |
315 | 319 | ||
316 | # | 320 | # |
317 | # lemote fulong mini-PC board | 321 | # Loongson family |
318 | # | 322 | # |
319 | core-$(CONFIG_LEMOTE_FULONG) +=arch/mips/lemote/lm2e/ | 323 | core-$(CONFIG_MACH_LOONGSON) +=arch/mips/loongson/ |
320 | load-$(CONFIG_LEMOTE_FULONG) +=0xffffffff80100000 | 324 | cflags-$(CONFIG_MACH_LOONGSON) += -I$(srctree)/arch/mips/include/asm/mach-loongson \ |
321 | cflags-$(CONFIG_LEMOTE_FULONG) += -I$(srctree)/arch/mips/include/asm/mach-lemote | 325 | -mno-branch-likely |
326 | load-$(CONFIG_LEMOTE_FULOONG2E) +=0xffffffff80100000 | ||
322 | 327 | ||
323 | # | 328 | # |
324 | # MIPS Malta board | 329 | # MIPS Malta board |
@@ -560,6 +565,13 @@ cflags-$(CONFIG_BCM47XX) += -I$(srctree)/arch/mips/include/asm/mach-bcm47xx | |||
560 | load-$(CONFIG_BCM47XX) := 0xffffffff80001000 | 565 | load-$(CONFIG_BCM47XX) := 0xffffffff80001000 |
561 | 566 | ||
562 | # | 567 | # |
568 | # Broadcom BCM63XX boards | ||
569 | # | ||
570 | core-$(CONFIG_BCM63XX) += arch/mips/bcm63xx/ | ||
571 | cflags-$(CONFIG_BCM63XX) += -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/ | ||
572 | load-$(CONFIG_BCM63XX) := 0xffffffff80010000 | ||
573 | |||
574 | # | ||
563 | # SNI RM | 575 | # SNI RM |
564 | # | 576 | # |
565 | core-$(CONFIG_SNI_RM) += arch/mips/sni/ | 577 | core-$(CONFIG_SNI_RM) += arch/mips/sni/ |