diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 77 |
1 files changed, 27 insertions, 50 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 69648d01acc0..356453322b49 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -14,7 +14,7 @@ | |||
14 | 14 | ||
15 | KBUILD_DEFCONFIG := ip22_defconfig | 15 | KBUILD_DEFCONFIG := ip22_defconfig |
16 | 16 | ||
17 | cflags-y := | 17 | cflags-y := -ffunction-sections |
18 | 18 | ||
19 | # | 19 | # |
20 | # Select the object file format to substitute into the linker script. | 20 | # Select the object file format to substitute into the linker script. |
@@ -305,36 +305,14 @@ load-$(CONFIG_LEMOTE_FULONG) +=0xffffffff80100000 | |||
305 | cflags-$(CONFIG_LEMOTE_FULONG) += -Iinclude/asm-mips/mach-lemote | 305 | cflags-$(CONFIG_LEMOTE_FULONG) += -Iinclude/asm-mips/mach-lemote |
306 | 306 | ||
307 | # | 307 | # |
308 | # For all MIPS, Inc. eval boards | ||
309 | # | ||
310 | core-$(CONFIG_MIPS_BOARDS_GEN) += arch/mips/mips-boards/generic/ | ||
311 | |||
312 | # | ||
313 | # MIPS Atlas board | ||
314 | # | ||
315 | core-$(CONFIG_MIPS_ATLAS) += arch/mips/mips-boards/atlas/ | ||
316 | cflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-atlas | ||
317 | cflags-$(CONFIG_MIPS_ATLAS) += -Iinclude/asm-mips/mach-mips | ||
318 | load-$(CONFIG_MIPS_ATLAS) += 0xffffffff80100000 | ||
319 | all-$(CONFIG_MIPS_ATLAS) := vmlinux.bin | ||
320 | |||
321 | # | ||
322 | # MIPS Malta board | 308 | # MIPS Malta board |
323 | # | 309 | # |
324 | core-$(CONFIG_MIPS_MALTA) += arch/mips/mips-boards/malta/ | 310 | core-$(CONFIG_MIPS_MALTA) += arch/mips/mti-malta/ |
325 | cflags-$(CONFIG_MIPS_MALTA) += -Iinclude/asm-mips/mach-mips | 311 | cflags-$(CONFIG_MIPS_MALTA) += -Iinclude/asm-mips/mach-malta |
326 | load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 | 312 | load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 |
327 | all-$(CONFIG_MIPS_MALTA) := vmlinux.bin | 313 | all-$(CONFIG_MIPS_MALTA) := vmlinux.bin |
328 | 314 | ||
329 | # | 315 | # |
330 | # MIPS SEAD board | ||
331 | # | ||
332 | core-$(CONFIG_MIPS_SEAD) += arch/mips/mips-boards/sead/ | ||
333 | cflags-$(CONFIG_MIPS_SEAD) += -Iinclude/asm-mips/mach-mips | ||
334 | load-$(CONFIG_MIPS_SEAD) += 0xffffffff80100000 | ||
335 | all-$(CONFIG_MIPS_SEAD) := vmlinux.srec | ||
336 | |||
337 | # | ||
338 | # MIPS SIM | 316 | # MIPS SIM |
339 | # | 317 | # |
340 | core-$(CONFIG_MIPS_SIM) += arch/mips/mipssim/ | 318 | core-$(CONFIG_MIPS_SIM) += arch/mips/mipssim/ |
@@ -377,12 +355,6 @@ core-$(CONFIG_MACH_VR41XX) += arch/mips/vr41xx/common/ | |||
377 | cflags-$(CONFIG_MACH_VR41XX) += -Iinclude/asm-mips/mach-vr41xx | 355 | cflags-$(CONFIG_MACH_VR41XX) += -Iinclude/asm-mips/mach-vr41xx |
378 | 356 | ||
379 | # | 357 | # |
380 | # NEC VR4133 | ||
381 | # | ||
382 | core-$(CONFIG_NEC_CMBVR4133) += arch/mips/vr41xx/nec-cmbvr4133/ | ||
383 | load-$(CONFIG_NEC_CMBVR4133) += 0xffffffff80100000 | ||
384 | |||
385 | # | ||
386 | # ZAO Networks Capcella (VR4131) | 358 | # ZAO Networks Capcella (VR4131) |
387 | # | 359 | # |
388 | load-$(CONFIG_ZAO_CAPCELLA) += 0xffffffff80000000 | 360 | load-$(CONFIG_ZAO_CAPCELLA) += 0xffffffff80000000 |
@@ -538,19 +510,19 @@ cflags-$(CONFIG_SIBYTE_BCM1x80) += -Iinclude/asm-mips/mach-sibyte \ | |||
538 | # Sibyte SWARM board | 510 | # Sibyte SWARM board |
539 | # Sibyte BCM91x80 (BigSur) board | 511 | # Sibyte BCM91x80 (BigSur) board |
540 | # | 512 | # |
541 | libs-$(CONFIG_SIBYTE_CARMEL) += arch/mips/sibyte/swarm/ | 513 | core-$(CONFIG_SIBYTE_CARMEL) += arch/mips/sibyte/swarm/ |
542 | load-$(CONFIG_SIBYTE_CARMEL) := 0xffffffff80100000 | 514 | load-$(CONFIG_SIBYTE_CARMEL) := 0xffffffff80100000 |
543 | libs-$(CONFIG_SIBYTE_CRHINE) += arch/mips/sibyte/swarm/ | 515 | core-$(CONFIG_SIBYTE_CRHINE) += arch/mips/sibyte/swarm/ |
544 | load-$(CONFIG_SIBYTE_CRHINE) := 0xffffffff80100000 | 516 | load-$(CONFIG_SIBYTE_CRHINE) := 0xffffffff80100000 |
545 | libs-$(CONFIG_SIBYTE_CRHONE) += arch/mips/sibyte/swarm/ | 517 | core-$(CONFIG_SIBYTE_CRHONE) += arch/mips/sibyte/swarm/ |
546 | load-$(CONFIG_SIBYTE_CRHONE) := 0xffffffff80100000 | 518 | load-$(CONFIG_SIBYTE_CRHONE) := 0xffffffff80100000 |
547 | libs-$(CONFIG_SIBYTE_RHONE) += arch/mips/sibyte/swarm/ | 519 | core-$(CONFIG_SIBYTE_RHONE) += arch/mips/sibyte/swarm/ |
548 | load-$(CONFIG_SIBYTE_RHONE) := 0xffffffff80100000 | 520 | load-$(CONFIG_SIBYTE_RHONE) := 0xffffffff80100000 |
549 | libs-$(CONFIG_SIBYTE_SENTOSA) += arch/mips/sibyte/swarm/ | 521 | core-$(CONFIG_SIBYTE_SENTOSA) += arch/mips/sibyte/swarm/ |
550 | load-$(CONFIG_SIBYTE_SENTOSA) := 0xffffffff80100000 | 522 | load-$(CONFIG_SIBYTE_SENTOSA) := 0xffffffff80100000 |
551 | libs-$(CONFIG_SIBYTE_SWARM) += arch/mips/sibyte/swarm/ | 523 | core-$(CONFIG_SIBYTE_SWARM) += arch/mips/sibyte/swarm/ |
552 | load-$(CONFIG_SIBYTE_SWARM) := 0xffffffff80100000 | 524 | load-$(CONFIG_SIBYTE_SWARM) := 0xffffffff80100000 |
553 | libs-$(CONFIG_SIBYTE_BIGSUR) += arch/mips/sibyte/swarm/ | 525 | core-$(CONFIG_SIBYTE_BIGSUR) += arch/mips/sibyte/swarm/ |
554 | load-$(CONFIG_SIBYTE_BIGSUR) := 0xffffffff80100000 | 526 | load-$(CONFIG_SIBYTE_BIGSUR) := 0xffffffff80100000 |
555 | 527 | ||
556 | # | 528 | # |
@@ -565,33 +537,38 @@ load-$(CONFIG_BCM47XX) := 0xffffffff80001000 | |||
565 | # | 537 | # |
566 | core-$(CONFIG_SNI_RM) += arch/mips/sni/ | 538 | core-$(CONFIG_SNI_RM) += arch/mips/sni/ |
567 | cflags-$(CONFIG_SNI_RM) += -Iinclude/asm-mips/mach-rm | 539 | cflags-$(CONFIG_SNI_RM) += -Iinclude/asm-mips/mach-rm |
540 | ifdef CONFIG_CPU_LITTLE_ENDIAN | ||
568 | load-$(CONFIG_SNI_RM) += 0xffffffff80600000 | 541 | load-$(CONFIG_SNI_RM) += 0xffffffff80600000 |
542 | else | ||
543 | load-$(CONFIG_SNI_RM) += 0xffffffff80030000 | ||
544 | endif | ||
569 | all-$(CONFIG_SNI_RM) := vmlinux.ecoff | 545 | all-$(CONFIG_SNI_RM) := vmlinux.ecoff |
570 | 546 | ||
571 | # | 547 | # |
548 | # Common TXx9 | ||
549 | # | ||
550 | core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/ | ||
551 | cflags-$(CONFIG_MACH_TX39XX) += -Iinclude/asm-mips/mach-tx39xx | ||
552 | load-$(CONFIG_MACH_TX39XX) += 0xffffffff80050000 | ||
553 | core-$(CONFIG_MACH_TX49XX) += arch/mips/txx9/generic/ | ||
554 | cflags-$(CONFIG_MACH_TX49XX) += -Iinclude/asm-mips/mach-tx49xx | ||
555 | load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000 | ||
556 | |||
557 | # | ||
572 | # Toshiba JMR-TX3927 board | 558 | # Toshiba JMR-TX3927 board |
573 | # | 559 | # |
574 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/jmr3927/rbhma3100/ \ | 560 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ |
575 | arch/mips/jmr3927/common/ | ||
576 | cflags-$(CONFIG_TOSHIBA_JMR3927) += -Iinclude/asm-mips/mach-jmr3927 | ||
577 | load-$(CONFIG_TOSHIBA_JMR3927) += 0xffffffff80050000 | ||
578 | 561 | ||
579 | # | 562 | # |
580 | # Toshiba RBTX4927 board or | 563 | # Toshiba RBTX4927 board or |
581 | # Toshiba RBTX4937 board | 564 | # Toshiba RBTX4937 board |
582 | # | 565 | # |
583 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/tx4927/toshiba_rbtx4927/ | 566 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ |
584 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/tx4927/common/ | ||
585 | cflags-$(CONFIG_TOSHIBA_RBTX4927) += -Iinclude/asm-mips/mach-tx49xx | ||
586 | load-$(CONFIG_TOSHIBA_RBTX4927) += 0xffffffff80020000 | ||
587 | 567 | ||
588 | # | 568 | # |
589 | # Toshiba RBTX4938 board | 569 | # Toshiba RBTX4938 board |
590 | # | 570 | # |
591 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/tx4938/toshiba_rbtx4938/ | 571 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ |
592 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/tx4938/common/ | ||
593 | cflags-$(CONFIG_TOSHIBA_RBTX4938) += -Iinclude/asm-mips/mach-tx49xx | ||
594 | load-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000 | ||
595 | 572 | ||
596 | cflags-y += -Iinclude/asm-mips/mach-generic | 573 | cflags-y += -Iinclude/asm-mips/mach-generic |
597 | drivers-$(CONFIG_PCI) += arch/mips/pci/ | 574 | drivers-$(CONFIG_PCI) += arch/mips/pci/ |