aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Makefile
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-07-11 10:27:54 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 13:44:35 -0400
commitedcaf1a6a77315562e9781245cc8e028c9a921dc (patch)
treea20a0a85071fa283c36db87a41d1a7e091a35781 /arch/mips/Makefile
parent766891565bdaf605ea4aebe3e75de77e848254d0 (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/Makefile21
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
551all-$(CONFIG_SNI_RM) := vmlinux.ecoff 551all-$(CONFIG_SNI_RM) := vmlinux.ecoff
552 552
553# 553#
554# Common TXx9
555#
556core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/
557cflags-$(CONFIG_MACH_TX39XX) += -Iinclude/asm-mips/mach-jmr3927
558load-$(CONFIG_MACH_TX39XX) += 0xffffffff80050000
559core-$(CONFIG_MACH_TX49XX) += arch/mips/txx9/generic/
560cflags-$(CONFIG_MACH_TX49XX) += -Iinclude/asm-mips/mach-tx49xx
561load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000
562
563#
554# Toshiba JMR-TX3927 board 564# Toshiba JMR-TX3927 board
555# 565#
556core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ \ 566core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/
557 arch/mips/txx9/generic/
558cflags-$(CONFIG_TOSHIBA_JMR3927) += -Iinclude/asm-mips/mach-jmr3927
559load-$(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#
565core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ 572core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/
566core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/generic/
567cflags-$(CONFIG_TOSHIBA_RBTX4927) += -Iinclude/asm-mips/mach-tx49xx
568load-$(CONFIG_TOSHIBA_RBTX4927) += 0xffffffff80020000
569 573
570# 574#
571# Toshiba RBTX4938 board 575# Toshiba RBTX4938 board
572# 576#
573core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ 577core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/
574core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/generic/
575cflags-$(CONFIG_TOSHIBA_RBTX4938) += -Iinclude/asm-mips/mach-tx49xx
576load-$(CONFIG_TOSHIBA_RBTX4938) += 0xffffffff80100000
577 578
578cflags-y += -Iinclude/asm-mips/mach-generic 579cflags-y += -Iinclude/asm-mips/mach-generic
579drivers-$(CONFIG_PCI) += arch/mips/pci/ 580drivers-$(CONFIG_PCI) += arch/mips/pci/