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

index 61f150bf8907946a339433797d4a3b1083b606c5..ad35f7bb8cd0ab6d81cb03e931ef2fb8a2a0262d 100644 (file)
@@ -15,6 +15,7 @@ platforms += sgi-ip27
 platforms += sgi-ip32
 platforms += sni
 platforms += vr41xx
+platforms += wrppmc
 
 # include the platform specific files
 include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
index 10e8a293a01ffe1f15ba591ecbb0a20e1ae7bb1a..ff681502f6df1df6a98421ed84ed3a445ab96f0d 100644 (file)
@@ -191,13 +191,6 @@ endif
 #
 include $(srctree)/arch/mips/Kbuild.platforms
 
-#
-# Wind River PPMC Board (4KC + GT64120)
-#
-core-$(CONFIG_WR_PPMC)         += arch/mips/wrppmc/
-cflags-$(CONFIG_WR_PPMC)               += -I$(srctree)/arch/mips/include/asm/mach-wrppmc
-load-$(CONFIG_WR_PPMC)         += 0xffffffff80100000
-
 #
 # LASAT platforms
 #
index b49d282bee8a1bbb4b31bc3719437fa2637987ec..307cc6920ce6d637515fee55125b70c03bd7795f 100644 (file)
@@ -6,9 +6,7 @@
 # Copyright 2006 Wind River System, Inc.
 # Author: Rongkai.Zhan <rongkai.zhan@windriver.com>
 #
-# Makefile for the Wind River MIPS 4KC PPMC Eval Board
+# Makefile for the Wind River MIPS 4Kc PPMC Eval Board
 #
 
 obj-y += irq.o pci.o reset.o serial.o setup.o time.o
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/wrppmc/Platform b/arch/mips/wrppmc/Platform
new file mode 100644 (file)
index 0000000..e758645
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# Wind River PPMC Board (4KC + GT64120)
+#
+platform-$(CONFIG_WR_PPMC)     += wrppmc/
+cflags-$(CONFIG_WR_PPMC)       +=                                      \
+               -I$(srctree)/arch/mips/include/asm/mach-wrppmc
+load-$(CONFIG_WR_PPMC)         += 0xffffffff80100000