Browse Source

MIPS: Jazz: Migrate to new platform makefile style.

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

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -3,6 +3,7 @@
 platforms += alchemy
 platforms += ar7
 platforms += cobalt
+platforms += jazz
 platforms += loongson
 platforms += mipssim
 platforms += pmc-sierra

+ 0 - 7
arch/mips/Makefile

@@ -191,13 +191,6 @@ endif
 #
 include $(srctree)/arch/mips/Kbuild.platforms
 
-#
-# Acer PICA 61, Mips Magnum 4000 and Olivetti M700.
-#
-core-$(CONFIG_MACH_JAZZ)	+= arch/mips/jazz/
-cflags-$(CONFIG_MACH_JAZZ)	+= -I$(srctree)/arch/mips/include/asm/mach-jazz
-load-$(CONFIG_MACH_JAZZ)	+= 0xffffffff80080000
-
 #
 # DECstation family
 #

+ 0 - 2
arch/mips/jazz/Makefile

@@ -3,5 +3,3 @@
 #
 
 obj-y	 	:= irq.o jazzdma.o reset.o setup.o
-
-EXTRA_CFLAGS += -Werror

+ 6 - 0
arch/mips/jazz/Platform

@@ -0,0 +1,6 @@
+#
+# Acer PICA 61, Mips Magnum 4000 and Olivetti M700.
+#
+platform-$(CONFIG_MACH_JAZZ)	+= jazz/
+cflags-$(CONFIG_MACH_JAZZ)	+= -I$(srctree)/arch/mips/include/asm/mach-jazz
+load-$(CONFIG_MACH_JAZZ)	+= 0xffffffff80080000