diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-11 10:27:54 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:35 -0400 |
commit | edcaf1a6a77315562e9781245cc8e028c9a921dc (patch) | |
tree | a20a0a85071fa283c36db87a41d1a7e091a35781 /arch/mips/Makefile | |
parent | 766891565bdaf605ea4aebe3e75de77e848254d0 (diff) |
[MIPS] TXx9: Make single kernel can support multiple boards
Make single kernel can be used on RBTX4927/37/38. Also make
some SoC-specific code independent from board-specific code.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Makefile')
-rw-r--r-- | arch/mips/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 8e1e49c5186b..d319cd624135 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -551,29 +551,30 @@ endif | |||
551 | all-$(CONFIG_SNI_RM) := vmlinux.ecoff | 551 | all-$(CONFIG_SNI_RM) := vmlinux.ecoff |
552 | 552 | ||
553 | # | 553 | # |
554 | # Common TXx9 | ||
555 | # | ||
556 | core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/ | ||
557 | cflags-$(CONFIG_MACH_TX39XX) += -Iinclude/asm-mips/mach-jmr3927 | ||
558 | load-$(CONFIG_MACH_TX39XX) += 0xffffffff80050000 | ||
559 | core-$(CONFIG_MACH_TX49XX) += arch/mips/txx9/generic/ | ||
560 | cflags-$(CONFIG_MACH_TX49XX) += -Iinclude/asm-mips/mach-tx49xx | ||
561 | load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000 | ||
562 | |||
563 | # | ||
554 | # Toshiba JMR-TX3927 board | 564 | # Toshiba JMR-TX3927 board |
555 | # | 565 | # |
556 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ \ | 566 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ |
557 | arch/mips/txx9/generic/ | ||
558 | cflags-$(CONFIG_TOSHIBA_JMR3927) += -Iinclude/asm-mips/mach-jmr3927 | ||
559 | load-$(CONFIG_TOSHIBA_JMR3927) += 0xffffffff80050000 | ||
560 | 567 | ||
561 | # | 568 | # |
562 | # Toshiba RBTX4927 board or | 569 | # Toshiba RBTX4927 board or |
563 | # Toshiba RBTX4937 board | 570 | # Toshiba RBTX4937 board |
564 | # | 571 | # |
565 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ | 572 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ |
566 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/generic/ | ||
567 | cflags-$(CONFIG_TOSHIBA_RBTX4927) += -Iinclude/asm-mips/mach-tx49xx | ||
568 | load-$(CONFIG_TOSHIBA_RBTX4927) += 0xffffffff80020000 | ||
569 | 573 | ||
570 | # | 574 | # |
571 | # Toshiba RBTX4938 board | 575 | # Toshiba RBTX4938 board |
572 | # | 576 | # |
573 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ | 577 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ |
574 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/generic/ | ||
575 | cflags-$(CONFIG_TOSHIBA_RBTX4938) += -Iinclude/asm-mips/mach-tx49xx | ||
576 | load-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000 | ||
577 | 578 | ||
578 | cflags-y += -Iinclude/asm-mips/mach-generic | 579 | cflags-y += -Iinclude/asm-mips/mach-generic |
579 | drivers-$(CONFIG_PCI) += arch/mips/pci/ | 580 | drivers-$(CONFIG_PCI) += arch/mips/pci/ |