MIPS: TXx9: Migrate to new platform makefile style.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:55 +0000 (13:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:55 +0000 (13:25 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/txx9/Makefile [new file with mode: 0644]
arch/mips/txx9/Platform [new file with mode: 0644]
arch/mips/txx9/generic/Makefile
arch/mips/txx9/jmr3927/Makefile
arch/mips/txx9/rbtx4927/Makefile
arch/mips/txx9/rbtx4938/Makefile
arch/mips/txx9/rbtx4939/Makefile

index e0fb370..a4bda75 100644 (file)
@@ -20,6 +20,7 @@ platforms += sgi-ip27
 platforms += sgi-ip32
 platforms += sibyte
 platforms += sni
+platforms += txx9
 platforms += vr41xx
 platforms += wrppmc
 
index 4cf7258..e136e62 100644 (file)
@@ -229,28 +229,6 @@ cflags-$(CONFIG_SOC_EMMA2RH)       += -I$(srctree)/arch/mips/include/asm/mach-emma2rh
 core-$(CONFIG_NEC_MARKEINS)    += arch/mips/emma/markeins/
 load-$(CONFIG_NEC_MARKEINS)    += 0xffffffff88100000
 
-#
-# Common TXx9
-#
-core-$(CONFIG_MACH_TX39XX)     += arch/mips/txx9/generic/
-cflags-$(CONFIG_MACH_TX39XX) += -I$(srctree)/arch/mips/include/asm/mach-tx39xx
-load-$(CONFIG_MACH_TX39XX)     += 0xffffffff80050000
-core-$(CONFIG_MACH_TX49XX)     += arch/mips/txx9/generic/
-cflags-$(CONFIG_MACH_TX49XX) += -I$(srctree)/arch/mips/include/asm/mach-tx49xx
-load-$(CONFIG_MACH_TX49XX)     += 0xffffffff80100000
-
-#
-# Toshiba JMR-TX3927 board
-#
-core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/
-
-#
-# Toshiba RBTX49XX boards
-#
-core-$(CONFIG_TOSHIBA_RBTX4927)        += arch/mips/txx9/rbtx4927/
-core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/
-core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/
-
 cflags-y                       += -I$(srctree)/arch/mips/include/asm/mach-generic
 drivers-$(CONFIG_PCI)          += arch/mips/pci/
 
diff --git a/arch/mips/txx9/Makefile b/arch/mips/txx9/Makefile
new file mode 100644 (file)
index 0000000..34787da
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Common TXx9
+#
+obj-$(CONFIG_MACH_TX39XX)      += generic/
+obj-$(CONFIG_MACH_TX49XX)      += generic/
+
+#
+# Toshiba JMR-TX3927 board
+#
+obj-$(CONFIG_TOSHIBA_JMR3927)  += jmr3927/
+
+#
+# Toshiba RBTX49XX boards
+#
+obj-$(CONFIG_TOSHIBA_RBTX4927) += rbtx4927/
+obj-$(CONFIG_TOSHIBA_RBTX4938) += rbtx4938/
+obj-$(CONFIG_TOSHIBA_RBTX4939) += rbtx4939/
diff --git a/arch/mips/txx9/Platform b/arch/mips/txx9/Platform
new file mode 100644 (file)
index 0000000..a801abb
--- /dev/null
@@ -0,0 +1,10 @@
+platform-$(CONFIG_MACH_TX39XX) += txx9/
+platform-$(CONFIG_MACH_TX49XX) += txx9/
+
+cflags-$(CONFIG_MACH_TX39XX)   +=                                      \
+               -I$(srctree)/arch/mips/include/asm/mach-tx39xx
+cflags-$(CONFIG_MACH_TX49XX)   +=                                      \
+                -I$(srctree)/arch/mips/include/asm/mach-tx49xx
+
+load-$(CONFIG_MACH_TX39XX)      += 0xffffffff80050000
+load-$(CONFIG_MACH_TX49XX)      += 0xffffffff80100000
index f2579ce..1863c16 100644 (file)
@@ -11,5 +11,3 @@ obj-$(CONFIG_SOC_TX4939)      += setup_tx4939.o irq_tx4939.o
 obj-$(CONFIG_TOSHIBA_FPCIB0)   += smsc_fdc37m81x.o
 obj-$(CONFIG_SPI)              += spi_eeprom.o
 obj-$(CONFIG_TXX9_7SEGLED)     += 7segled.o
-
-EXTRA_CFLAGS += -Werror
index 20d61ac..9f5d5b6 100644 (file)
@@ -3,5 +3,3 @@
 #
 
 obj-y  += prom.o irq.o setup.o
-
-EXTRA_CFLAGS += -Werror
index f3e1f59..60b24c8 100644 (file)
@@ -1,3 +1 @@
 obj-y  += prom.o setup.o irq.o
-
-EXTRA_CFLAGS += -Werror
index f3e1f59..60b24c8 100644 (file)
@@ -1,3 +1 @@
 obj-y  += prom.o setup.o irq.o
-
-EXTRA_CFLAGS += -Werror
index 3232cd0..5c84625 100644 (file)
@@ -1,3 +1 @@
 obj-y   += irq.o setup.o prom.o
-
-EXTRA_CFLAGS += -Werror