diff options
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 59 |
1 files changed, 16 insertions, 43 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index ad36c946ff96..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 |
@@ -573,29 +545,30 @@ endif | |||
573 | all-$(CONFIG_SNI_RM) := vmlinux.ecoff | 545 | all-$(CONFIG_SNI_RM) := vmlinux.ecoff |
574 | 546 | ||
575 | # | 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 | # | ||
576 | # Toshiba JMR-TX3927 board | 558 | # Toshiba JMR-TX3927 board |
577 | # | 559 | # |
578 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/jmr3927/rbhma3100/ \ | 560 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ |
579 | arch/mips/jmr3927/common/ | ||
580 | cflags-$(CONFIG_TOSHIBA_JMR3927) += -Iinclude/asm-mips/mach-jmr3927 | ||
581 | load-$(CONFIG_TOSHIBA_JMR3927) += 0xffffffff80050000 | ||
582 | 561 | ||
583 | # | 562 | # |
584 | # Toshiba RBTX4927 board or | 563 | # Toshiba RBTX4927 board or |
585 | # Toshiba RBTX4937 board | 564 | # Toshiba RBTX4937 board |
586 | # | 565 | # |
587 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/tx4927/toshiba_rbtx4927/ | 566 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ |
588 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/tx4927/common/ | ||
589 | cflags-$(CONFIG_TOSHIBA_RBTX4927) += -Iinclude/asm-mips/mach-tx49xx | ||
590 | load-$(CONFIG_TOSHIBA_RBTX4927) += 0xffffffff80020000 | ||
591 | 567 | ||
592 | # | 568 | # |
593 | # Toshiba RBTX4938 board | 569 | # Toshiba RBTX4938 board |
594 | # | 570 | # |
595 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/tx4938/toshiba_rbtx4938/ | 571 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ |
596 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/tx4938/common/ | ||
597 | cflags-$(CONFIG_TOSHIBA_RBTX4938) += -Iinclude/asm-mips/mach-tx49xx | ||
598 | load-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000 | ||
599 | 572 | ||
600 | cflags-y += -Iinclude/asm-mips/mach-generic | 573 | cflags-y += -Iinclude/asm-mips/mach-generic |
601 | drivers-$(CONFIG_PCI) += arch/mips/pci/ | 574 | drivers-$(CONFIG_PCI) += arch/mips/pci/ |