]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
MIPS: MIPSsim: Migrate to new Platform file
authorRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:45 +0000 (13:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:45 +0000 (13:25 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kbuild.platforms
arch/mips/Makefile
arch/mips/mipssim/Makefile
arch/mips/mipssim/Platform [new file with mode: 0644]

index 9784c4941c9f577eda5042084ae07e32f851d459..13244f326fff4a1c1e15a0e901343bc4d25217f7 100644 (file)
@@ -2,6 +2,7 @@
 
 platforms += ar7
 platforms += loongson
+platforms += mipssim
 
 # include the platform specific files
 include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
index 3eafe7fcb27cfcab11059483081d1eb749eb500f..cc2ae36a4546720f25dcbf1e4f019f579dc10b1c 100644 (file)
@@ -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
 #
index 41b96571315e76009322209e8bf28bdb9eac3a67..01410a3f1729c47ad43b9f653701e77e8ff25006 100644 (file)
@@ -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
diff --git a/arch/mips/mipssim/Platform b/arch/mips/mipssim/Platform
new file mode 100644 (file)
index 0000000..3df60b8
--- /dev/null
@@ -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