]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
MIPS: SNI: Migrate to new platform makefile style.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:49 +0000 (13:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:49 +0000 (13:25 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/sni/Makefile
arch/mips/sni/Platform [new file with mode: 0644]

index 0ba692c1017a6f2f659916d65e552e12680ec6dc..e391b6d473e30d2821caaf479e35f072cbce58a9 100644 (file)
@@ -9,6 +9,7 @@ platforms += loongson
 platforms += mipssim
 platforms += pmc-sierra
 platforms += sgi-ip27
+platforms += sni
 platforms += vr41xx
 
 # include the platform specific files
index efaae8578ee7d82fe972abd4f38d7eca383ad345..ccbb367b5bf1a6ddc61e221affc70f28cdd74f16 100644 (file)
@@ -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
 #
index a7dbeebe7fe69a61d6466387117c40c719cdb5c6..9d3bad3200ce3563402b2d4944579481f4fad451 100644 (file)
@@ -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
diff --git a/arch/mips/sni/Platform b/arch/mips/sni/Platform
new file mode 100644 (file)
index 0000000..2644a9d
--- /dev/null
@@ -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