Browse Source

MIPS: MIPSsim: Migrate to new Platform file

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

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -2,6 +2,7 @@
 
 platforms += ar7
 platforms += loongson
+platforms += mipssim
 
 # include the platform specific files
 include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))

+ 0 - 7
arch/mips/Makefile

@@ -333,13 +333,6 @@ cflags-$(CONFIG_MIPS_MALTA)	+= -I$(srctree)/arch/mips/include/asm/mach-malta
 load-$(CONFIG_MIPS_MALTA)	+= 0xffffffff80100000
 all-$(CONFIG_MIPS_MALTA)	:= $(COMPRESSION_FNAME).bin
 
-#
-# MIPS SIM
-#
-core-$(CONFIG_MIPS_SIM)		+= arch/mips/mipssim/
-cflags-$(CONFIG_MIPS_SIM)	+= -I$(srctree)/arch/mips/include/asm/mach-mipssim
-load-$(CONFIG_MIPS_SIM)		+= 0x80100000
-
 #
 # PMC-Sierra MSP SOCs
 #

+ 0 - 2
arch/mips/mipssim/Makefile

@@ -21,5 +21,3 @@ obj-y := sim_platform.o sim_setup.o sim_mem.o sim_time.o sim_int.o
 
 obj-$(CONFIG_EARLY_PRINTK) += sim_console.o
 obj-$(CONFIG_MIPS_MT_SMTC) += sim_smtc.o
-
-EXTRA_CFLAGS += -Werror

+ 6 - 0
arch/mips/mipssim/Platform

@@ -0,0 +1,6 @@
+#
+# MIPS SIM
+#
+platform-$(CONFIG_MIPS_SIM)	+= mipssim/
+cflags-$(CONFIG_MIPS_SIM)	+= -I$(srctree)/arch/mips/include/asm/mach-mipssim
+load-$(CONFIG_MIPS_SIM)		+= 0x80100000