瀏覽代碼

MIPS: RB532: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 15 年之前
父節點
當前提交
91598965ec
共有 4 個文件被更改,包括 8 次插入9 次删除
  1. 1 0
      arch/mips/Kbuild.platforms
  2. 0 7
      arch/mips/Makefile
  3. 0 2
      arch/mips/rb532/Makefile
  4. 7 0
      arch/mips/rb532/Platform

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -9,6 +9,7 @@ platforms += loongson
 platforms += mipssim
 platforms += mti-malta
 platforms += pmc-sierra
+platforms += rb532
 platforms += sgi-ip22
 platforms += sgi-ip27
 platforms += sgi-ip32

+ 0 - 7
arch/mips/Makefile

@@ -329,13 +329,6 @@ load-$(CONFIG_MACH_TX49XX)	+= 0xffffffff80100000
 #
 core-$(CONFIG_TOSHIBA_JMR3927)	+= arch/mips/txx9/jmr3927/
 
-#
-# Routerboard 532 board
-#
-core-$(CONFIG_MIKROTIK_RB532)	+= arch/mips/rb532/
-cflags-$(CONFIG_MIKROTIK_RB532) += -I$(srctree)/arch/mips/include/asm/mach-rc32434
-load-$(CONFIG_MIKROTIK_RB532)	+= 0xffffffff80101000
-
 #
 # Toshiba RBTX49XX boards
 #

+ 0 - 2
arch/mips/rb532/Makefile

@@ -3,5 +3,3 @@
 #
 
 obj-y	 += irq.o time.o setup.o serial.o prom.o gpio.o devices.o
-
-EXTRA_CFLAGS += -Werror

+ 7 - 0
arch/mips/rb532/Platform

@@ -0,0 +1,7 @@
+#
+# Routerboard 532
+#
+platform-$(CONFIG_MIKROTIK_RB532)	+= rb532/
+cflags-$(CONFIG_MIKROTIK_RB532)		+=				\
+		-I$(srctree)/arch/mips/include/asm/mach-rc32434
+load-$(CONFIG_MIKROTIK_RB532)		+= 0xffffffff80101000