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

index 8a8f99bfe67f79ba7bf22642c859500bc10b9c52..61f150bf8907946a339433797d4a3b1083b606c5 100644 (file)
@@ -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
index 175c647c80306e2e30256371f9f888ffee0b7752..2fbce8e25f3648941ee154c8de3bb5624e1b1daa 100644 (file)
@@ -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
 #
index 8f0b6b6a162558c605e5c5e2343bc2be3682f96c..efdecdb6e3eaefd85a0865c1341b429494df676e 100644 (file)
@@ -3,5 +3,3 @@
 #
 
 obj-y   += irq.o time.o setup.o serial.o prom.o gpio.o devices.o
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/rb532/Platform b/arch/mips/rb532/Platform
new file mode 100644 (file)
index 0000000..aeec45a
--- /dev/null
@@ -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