diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:55 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:55 -0400 |
commit | a8b361d97f8e5a496a6144c470be03595247ad9f (patch) | |
tree | 9f45e4f6c2a975e08098785823f7359aa242e7c5 /arch | |
parent | 34f5c1c5787bd13a3fbfc284ff7f719846427b9d (diff) |
MIPS: TXx9: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/Kbuild.platforms | 1 | ||||
-rw-r--r-- | arch/mips/Makefile | 22 | ||||
-rw-r--r-- | arch/mips/txx9/Makefile | 17 | ||||
-rw-r--r-- | arch/mips/txx9/Platform | 10 | ||||
-rw-r--r-- | arch/mips/txx9/generic/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/txx9/jmr3927/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/txx9/rbtx4927/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/txx9/rbtx4938/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/txx9/rbtx4939/Makefile | 2 |
9 files changed, 28 insertions, 32 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index e0fb3700ffd8..a4bda755c3a6 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms | |||
@@ -20,6 +20,7 @@ platforms += sgi-ip27 | |||
20 | platforms += sgi-ip32 | 20 | platforms += sgi-ip32 |
21 | platforms += sibyte | 21 | platforms += sibyte |
22 | platforms += sni | 22 | platforms += sni |
23 | platforms += txx9 | ||
23 | platforms += vr41xx | 24 | platforms += vr41xx |
24 | platforms += wrppmc | 25 | platforms += wrppmc |
25 | 26 | ||
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 4cf72586162b..e136e6204d87 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -229,28 +229,6 @@ cflags-$(CONFIG_SOC_EMMA2RH) += -I$(srctree)/arch/mips/include/asm/mach-emma2rh | |||
229 | core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma/markeins/ | 229 | core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma/markeins/ |
230 | load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000 | 230 | load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000 |
231 | 231 | ||
232 | # | ||
233 | # Common TXx9 | ||
234 | # | ||
235 | core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/ | ||
236 | cflags-$(CONFIG_MACH_TX39XX) += -I$(srctree)/arch/mips/include/asm/mach-tx39xx | ||
237 | load-$(CONFIG_MACH_TX39XX) += 0xffffffff80050000 | ||
238 | core-$(CONFIG_MACH_TX49XX) += arch/mips/txx9/generic/ | ||
239 | cflags-$(CONFIG_MACH_TX49XX) += -I$(srctree)/arch/mips/include/asm/mach-tx49xx | ||
240 | load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000 | ||
241 | |||
242 | # | ||
243 | # Toshiba JMR-TX3927 board | ||
244 | # | ||
245 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ | ||
246 | |||
247 | # | ||
248 | # Toshiba RBTX49XX boards | ||
249 | # | ||
250 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ | ||
251 | core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/ | ||
252 | core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/ | ||
253 | |||
254 | cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic | 232 | cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic |
255 | drivers-$(CONFIG_PCI) += arch/mips/pci/ | 233 | drivers-$(CONFIG_PCI) += arch/mips/pci/ |
256 | 234 | ||
diff --git a/arch/mips/txx9/Makefile b/arch/mips/txx9/Makefile new file mode 100644 index 000000000000..34787dabff06 --- /dev/null +++ b/arch/mips/txx9/Makefile | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # Common TXx9 | ||
3 | # | ||
4 | obj-$(CONFIG_MACH_TX39XX) += generic/ | ||
5 | obj-$(CONFIG_MACH_TX49XX) += generic/ | ||
6 | |||
7 | # | ||
8 | # Toshiba JMR-TX3927 board | ||
9 | # | ||
10 | obj-$(CONFIG_TOSHIBA_JMR3927) += jmr3927/ | ||
11 | |||
12 | # | ||
13 | # Toshiba RBTX49XX boards | ||
14 | # | ||
15 | obj-$(CONFIG_TOSHIBA_RBTX4927) += rbtx4927/ | ||
16 | obj-$(CONFIG_TOSHIBA_RBTX4938) += rbtx4938/ | ||
17 | obj-$(CONFIG_TOSHIBA_RBTX4939) += rbtx4939/ | ||
diff --git a/arch/mips/txx9/Platform b/arch/mips/txx9/Platform new file mode 100644 index 000000000000..a801abbe138b --- /dev/null +++ b/arch/mips/txx9/Platform | |||
@@ -0,0 +1,10 @@ | |||
1 | platform-$(CONFIG_MACH_TX39XX) += txx9/ | ||
2 | platform-$(CONFIG_MACH_TX49XX) += txx9/ | ||
3 | |||
4 | cflags-$(CONFIG_MACH_TX39XX) += \ | ||
5 | -I$(srctree)/arch/mips/include/asm/mach-tx39xx | ||
6 | cflags-$(CONFIG_MACH_TX49XX) += \ | ||
7 | -I$(srctree)/arch/mips/include/asm/mach-tx49xx | ||
8 | |||
9 | load-$(CONFIG_MACH_TX39XX) += 0xffffffff80050000 | ||
10 | load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000 | ||
diff --git a/arch/mips/txx9/generic/Makefile b/arch/mips/txx9/generic/Makefile index f2579ce054a1..1863c167e66e 100644 --- a/arch/mips/txx9/generic/Makefile +++ b/arch/mips/txx9/generic/Makefile | |||
@@ -11,5 +11,3 @@ obj-$(CONFIG_SOC_TX4939) += setup_tx4939.o irq_tx4939.o | |||
11 | obj-$(CONFIG_TOSHIBA_FPCIB0) += smsc_fdc37m81x.o | 11 | obj-$(CONFIG_TOSHIBA_FPCIB0) += smsc_fdc37m81x.o |
12 | obj-$(CONFIG_SPI) += spi_eeprom.o | 12 | obj-$(CONFIG_SPI) += spi_eeprom.o |
13 | obj-$(CONFIG_TXX9_7SEGLED) += 7segled.o | 13 | obj-$(CONFIG_TXX9_7SEGLED) += 7segled.o |
14 | |||
15 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/txx9/jmr3927/Makefile b/arch/mips/txx9/jmr3927/Makefile index 20d61ac543e5..9f5d5b623839 100644 --- a/arch/mips/txx9/jmr3927/Makefile +++ b/arch/mips/txx9/jmr3927/Makefile | |||
@@ -3,5 +3,3 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y += prom.o irq.o setup.o | 5 | obj-y += prom.o irq.o setup.o |
6 | |||
7 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/txx9/rbtx4927/Makefile b/arch/mips/txx9/rbtx4927/Makefile index f3e1f597b4f1..60b24c8f7e63 100644 --- a/arch/mips/txx9/rbtx4927/Makefile +++ b/arch/mips/txx9/rbtx4927/Makefile | |||
@@ -1,3 +1 @@ | |||
1 | obj-y += prom.o setup.o irq.o | obj-y += prom.o setup.o irq.o | |
2 | |||
3 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/txx9/rbtx4938/Makefile b/arch/mips/txx9/rbtx4938/Makefile index f3e1f597b4f1..60b24c8f7e63 100644 --- a/arch/mips/txx9/rbtx4938/Makefile +++ b/arch/mips/txx9/rbtx4938/Makefile | |||
@@ -1,3 +1 @@ | |||
1 | obj-y += prom.o setup.o irq.o | obj-y += prom.o setup.o irq.o | |
2 | |||
3 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/txx9/rbtx4939/Makefile b/arch/mips/txx9/rbtx4939/Makefile index 3232cd03a7d6..5c84625a3f1c 100644 --- a/arch/mips/txx9/rbtx4939/Makefile +++ b/arch/mips/txx9/rbtx4939/Makefile | |||
@@ -1,3 +1 @@ | |||
1 | obj-y += irq.o setup.o prom.o | obj-y += irq.o setup.o prom.o | |
2 | |||
3 | EXTRA_CFLAGS += -Werror | ||