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 e0fb3700ffd89c905c2d0e75c158f2fba3624231..a4bda755c3a64482b3cda942638fb0c8e8dd9607 100644 (file)
@@ -20,6 +20,7 @@ platforms += sgi-ip27
 platforms += sgi-ip32
 platforms += sibyte
 platforms += sni
+platforms += txx9
 platforms += vr41xx
 platforms += wrppmc
 
index 4cf72586162beeb28d0b8f988d33d5268870b601..e136e6204d873fd5f54cacd9b6f783ffe1244853 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 f2579ce054a1b5bc2fa2452db5e4be2203b0894d..1863c167e66e465489b945758f8466c75cce49ed 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 20d61ac543e59b102591e86bae9432cfdb252498..9f5d5b623839fd66e474469bddb5168435f05697 100644 (file)
@@ -3,5 +3,3 @@
 #
 
 obj-y  += prom.o irq.o setup.o
-
-EXTRA_CFLAGS += -Werror
index f3e1f597b4f15c99f1fc0edd5a4e810756bea162..60b24c8f7e63fe68ed7716516f344fafdb7fca4b 100644 (file)
@@ -1,3 +1 @@
 obj-y  += prom.o setup.o irq.o
-
-EXTRA_CFLAGS += -Werror
index f3e1f597b4f15c99f1fc0edd5a4e810756bea162..60b24c8f7e63fe68ed7716516f344fafdb7fca4b 100644 (file)
@@ -1,3 +1 @@
 obj-y  += prom.o setup.o irq.o
-
-EXTRA_CFLAGS += -Werror
index 3232cd03a7d6ba7d9ea99cda6bcf897cb002aab6..5c84625a3f1ccfb3cc5793c506439d6622274383 100644 (file)
@@ -1,3 +1 @@
 obj-y   += irq.o setup.o prom.o
-
-EXTRA_CFLAGS += -Werror