Explorar el Código

MIPS: SNI: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle hace 15 años
padre
commit
655f40e487
Se han modificado 4 ficheros con 12 adiciones y 14 borrados
  1. 1 0
      arch/mips/Kbuild.platforms
  2. 0 12
      arch/mips/Makefile
  3. 0 2
      arch/mips/sni/Makefile
  4. 11 0
      arch/mips/sni/Platform

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -9,6 +9,7 @@ platforms += loongson
 platforms += mipssim
 platforms += pmc-sierra
 platforms += sgi-ip27
+platforms += sni
 platforms += vr41xx
 
 # include the platform specific files

+ 0 - 12
arch/mips/Makefile

@@ -369,18 +369,6 @@ core-$(CONFIG_BCM63XX)		+= arch/mips/bcm63xx/
 cflags-$(CONFIG_BCM63XX)	+= -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/
 load-$(CONFIG_BCM63XX)		:= 0xffffffff80010000
 
-#
-# SNI RM
-#
-core-$(CONFIG_SNI_RM)		+= arch/mips/sni/
-cflags-$(CONFIG_SNI_RM)		+= -I$(srctree)/arch/mips/include/asm/mach-rm
-ifdef CONFIG_CPU_LITTLE_ENDIAN
-load-$(CONFIG_SNI_RM)		+= 0xffffffff80600000
-else
-load-$(CONFIG_SNI_RM)		+= 0xffffffff80030000
-endif
-all-$(CONFIG_SNI_RM)		:= $(COMPRESSION_FNAME).ecoff
-
 #
 # Common TXx9
 #

+ 0 - 2
arch/mips/sni/Makefile

@@ -4,5 +4,3 @@
 
 obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o
 obj-$(CONFIG_EISA) += eisa.o
-
-EXTRA_CFLAGS += -Werror

+ 11 - 0
arch/mips/sni/Platform

@@ -0,0 +1,11 @@
+#
+# SNI RM
+#
+platform-$(CONFIG_SNI_RM)		+= sni/
+cflags-$(CONFIG_SNI_RM)		+= -I$(srctree)/arch/mips/include/asm/mach-rm
+ifdef CONFIG_CPU_LITTLE_ENDIAN
+load-$(CONFIG_SNI_RM)		+= 0xffffffff80600000
+else
+load-$(CONFIG_SNI_RM)		+= 0xffffffff80030000
+endif
+all-$(CONFIG_SNI_RM)		:= $(COMPRESSION_FNAME).ecoff