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

index a4bda755c3a64482b3cda942638fb0c8e8dd9607..8985487b3deff3a0d6c018341d43bcd14209ab3f 100644 (file)
@@ -7,6 +7,7 @@ platforms += bcm63xx
 platforms += cavium-octeon
 platforms += cobalt
 platforms += dec
+platforms += emma
 platforms += jazz
 platforms += lasat
 platforms += loongson
index e136e6204d873fd5f54cacd9b6f783ffe1244853..2ba20d97c6606c3064737897bd8b94f9ec9046b3 100644 (file)
@@ -217,18 +217,6 @@ load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000
 libs-$(CONFIG_PNX8550_STB810)  += arch/mips/nxp/pnx8550/stb810/
 load-$(CONFIG_PNX8550_STB810)  += 0xffffffff80060000
 
-#
-# Common NEC EMMAXXX
-#
-core-$(CONFIG_SOC_EMMA2RH)     += arch/mips/emma/common/
-cflags-$(CONFIG_SOC_EMMA2RH)   += -I$(srctree)/arch/mips/include/asm/mach-emma2rh
-
-#
-# NEC EMMA2RH Mark-eins
-#
-core-$(CONFIG_NEC_MARKEINS)    += arch/mips/emma/markeins/
-load-$(CONFIG_NEC_MARKEINS)    += 0xffffffff88100000
-
 cflags-y                       += -I$(srctree)/arch/mips/include/asm/mach-generic
 drivers-$(CONFIG_PCI)          += arch/mips/pci/
 
diff --git a/arch/mips/emma/Makefile b/arch/mips/emma/Makefile
new file mode 100644 (file)
index 0000000..4254a31
--- /dev/null
@@ -0,0 +1,6 @@
+obj-$(CONFIG_SOC_EMMA2RH)      += common/
+
+#
+# NEC EMMA2RH Mark-eins
+#
+obj-$(CONFIG_NEC_MARKEINS)     += markeins/
diff --git a/arch/mips/emma/Platform b/arch/mips/emma/Platform
new file mode 100644 (file)
index 0000000..0282f7f
--- /dev/null
@@ -0,0 +1,4 @@
+platform-$(CONFIG_SOC_EMMA2RH) += emma/
+cflags-$(CONFIG_SOC_EMMA2RH)   +=                                      \
+               -I$(srctree)/arch/mips/include/asm/mach-emma2rh
+load-$(CONFIG_NEC_MARKEINS)    += 0xffffffff88100000