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

index e4c991efee91e4bfb5a1f3ea039a26dac6987a63..c00aa348a432c2f90a7dbf0be9fcc344a08d145e 100644 (file)
@@ -3,6 +3,7 @@
 platforms += alchemy
 platforms += ar7
 platforms += bcm47xx
+platforms += bcm63xx
 platforms += cobalt
 platforms += dec
 platforms += jazz
index b855d066b82f60a961299bc40f62356a1fe00017..4cb60db6a44afa0cb31f2a6034c9de62ea3d1a36 100644 (file)
@@ -279,13 +279,6 @@ load-$(CONFIG_SIBYTE_SWARM)        := 0xffffffff80100000
 core-$(CONFIG_SIBYTE_BIGSUR)   += arch/mips/sibyte/swarm/
 load-$(CONFIG_SIBYTE_BIGSUR)   := 0xffffffff80100000
 
-#
-# Broadcom BCM63XX boards
-#
-core-$(CONFIG_BCM63XX)         += arch/mips/bcm63xx/
-cflags-$(CONFIG_BCM63XX)       += -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/
-load-$(CONFIG_BCM63XX)         := 0xffffffff80010000
-
 #
 # Common TXx9
 #
index 00064b6608096f1cd8722cf832cae7b353e39eec..6dfdc69928accdfc1d062cf9315b04f8bc28a9c2 100644 (file)
@@ -3,5 +3,3 @@ obj-y           += clk.o cpu.o cs.o gpio.o irq.o prom.o setup.o timer.o \
 obj-$(CONFIG_EARLY_PRINTK)     += early_printk.o
 
 obj-y          += boards/
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/bcm63xx/Platform b/arch/mips/bcm63xx/Platform
new file mode 100644 (file)
index 0000000..5f86b2f
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Broadcom BCM63XX boards
+#
+platform-$(CONFIG_BCM63XX)     += bcm63xx/
+cflags-$(CONFIG_BCM63XX)       +=                                      \
+               -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/
+load-$(CONFIG_BCM63XX)         := 0xffffffff80010000