MIPS: Move Cobalt Makefile parts to their own Platform file
authorYoichi Yuasa <yuasa@linux-mips.org>
Wed, 2 Jun 2010 07:51:16 +0000 (16:51 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:47 +0000 (13:25 +0100)
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1321/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/cobalt/Makefile
arch/mips/cobalt/Platform [new file with mode: 0644]

index 77e48b9bddedb327e43c089eacc4bf0620ed41c0..6c163c278222b2cd110d7a991c14f2c1b1c689a9 100644 (file)
@@ -2,6 +2,7 @@
 
 platforms += alchemy
 platforms += ar7
+platforms += cobalt
 platforms += loongson
 platforms += mipssim
 platforms += sgi-ip27
index ec2cd73a2b709ede191856b9c6fa8bc9f7d29b39..01fbd91a52c8baa17ffe83f2cc8609fb9680b053 100644 (file)
@@ -198,13 +198,6 @@ core-$(CONFIG_MACH_JAZZ)   += arch/mips/jazz/
 cflags-$(CONFIG_MACH_JAZZ)     += -I$(srctree)/arch/mips/include/asm/mach-jazz
 load-$(CONFIG_MACH_JAZZ)       += 0xffffffff80080000
 
-#
-# Cobalt Server
-#
-core-$(CONFIG_MIPS_COBALT)     += arch/mips/cobalt/
-cflags-$(CONFIG_MIPS_COBALT)   += -I$(srctree)/arch/mips/include/asm/mach-cobalt
-load-$(CONFIG_MIPS_COBALT)     += 0xffffffff80080000
-
 #
 # DECstation family
 #
index 237926288d6d57ff5fb15feebeadda3a0cedf505..61a334ac43ac7c52565713e4a45ed882da57132d 100644 (file)
@@ -7,5 +7,3 @@ obj-y := buttons.o irq.o lcd.o led.o reset.o rtc.o serial.o setup.o time.o
 obj-$(CONFIG_PCI)              += pci.o
 obj-$(CONFIG_EARLY_PRINTK)     += console.o
 obj-$(CONFIG_MTD_PHYSMAP)      += mtd.o
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/cobalt/Platform b/arch/mips/cobalt/Platform
new file mode 100644 (file)
index 0000000..34123ef
--- /dev/null
@@ -0,0 +1,6 @@
+#
+# Cobalt Server
+#
+platform-$(CONFIG_MIPS_COBALT) += cobalt/
+cflags-$(CONFIG_MIPS_COBALT)   += -I$(srctree)/arch/mips/include/asm/mach-cobalt
+load-$(CONFIG_MIPS_COBALT)     += 0xffffffff80080000