Browse Source

MIPS: EMMA: Migrate to new platform makefile style.

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

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -7,6 +7,7 @@ platforms += bcm63xx
 platforms += cavium-octeon
 platforms += cobalt
 platforms += dec
+platforms += emma
 platforms += jazz
 platforms += lasat
 platforms += loongson

+ 0 - 12
arch/mips/Makefile

@@ -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/
 

+ 6 - 0
arch/mips/emma/Makefile

@@ -0,0 +1,6 @@
+obj-$(CONFIG_SOC_EMMA2RH)	+= common/
+
+#
+# NEC EMMA2RH Mark-eins
+#
+obj-$(CONFIG_NEC_MARKEINS)	+= markeins/

+ 4 - 0
arch/mips/emma/Platform

@@ -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