Browse Source

MIPS: BCM63xx: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 15 years ago
parent
commit
f5e8abd6f1
4 changed files with 8 additions and 9 deletions
  1. 1 0
      arch/mips/Kbuild.platforms
  2. 0 7
      arch/mips/Makefile
  3. 0 2
      arch/mips/bcm63xx/Makefile
  4. 7 0
      arch/mips/bcm63xx/Platform

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -3,6 +3,7 @@
 platforms += alchemy
 platforms += ar7
 platforms += bcm47xx
+platforms += bcm63xx
 platforms += cobalt
 platforms += dec
 platforms += jazz

+ 0 - 7
arch/mips/Makefile

@@ -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
 #

+ 0 - 2
arch/mips/bcm63xx/Makefile

@@ -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

+ 7 - 0
arch/mips/bcm63xx/Platform

@@ -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