MIPS: Malta: 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/mti-malta/Makefile
arch/mips/mti-malta/Platform [new file with mode: 0644]

index acc3dc8080e2c740d958be9f777f9472d4839ab9..4d87f3deec1728bd8415d545bb25a08ac0136983 100644 (file)
@@ -7,6 +7,7 @@ platforms += dec
 platforms += jazz
 platforms += loongson
 platforms += mipssim
+platforms += mti-malta
 platforms += pmc-sierra
 platforms += sgi-ip22
 platforms += sgi-ip27
index 3c89ccb89b166af390f1c976a4db3e6a8db58a67..719aad5cf14f612cddd54a9ae2bebebd997ab011 100644 (file)
@@ -198,14 +198,6 @@ core-$(CONFIG_WR_PPMC)             += arch/mips/gt64120/wrppmc/
 cflags-$(CONFIG_WR_PPMC)               += -I$(srctree)/arch/mips/include/asm/mach-wrppmc
 load-$(CONFIG_WR_PPMC)         += 0xffffffff80100000
 
-#
-# MIPS Malta board
-#
-core-$(CONFIG_MIPS_MALTA)      += arch/mips/mti-malta/
-cflags-$(CONFIG_MIPS_MALTA)    += -I$(srctree)/arch/mips/include/asm/mach-malta
-load-$(CONFIG_MIPS_MALTA)      += 0xffffffff80100000
-all-$(CONFIG_MIPS_MALTA)       := $(COMPRESSION_FNAME).bin
-
 #
 # LASAT platforms
 #
index 32e847808df166cf6469a4d919b2763dd7bde8da..6079ef33b5f0670e0e3f4de945bd287a821a7381 100644 (file)
@@ -15,5 +15,3 @@ obj-$(CONFIG_PCI)             += malta-pci.o
 
 # FIXME FIXME FIXME
 obj-$(CONFIG_MIPS_MT_SMTC)     += malta-smtc.o
-
-EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/mti-malta/Platform b/arch/mips/mti-malta/Platform
new file mode 100644 (file)
index 0000000..5b548b5
--- /dev/null
@@ -0,0 +1,7 @@
+#
+# MIPS Malta board
+#
+platform-$(CONFIG_MIPS_MALTA)  += mti-malta/
+cflags-$(CONFIG_MIPS_MALTA)    += -I$(srctree)/arch/mips/include/asm/mach-malta
+load-$(CONFIG_MIPS_MALTA)      += 0xffffffff80100000
+all-$(CONFIG_MIPS_MALTA)       := $(COMPRESSION_FNAME).bin