diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:45 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:45 -0400 |
commit | 526a2fe2f5d887ef8b89243c3a5e64f0f38c21cc (patch) | |
tree | 29d7be17b2b2a68d669d6539618dfd27030a5826 | |
parent | 28c945c88676bf71ec649429f2c1c4ce3719cd7c (diff) |
MIPS: MIPSsim: Migrate to new Platform file
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/Kbuild.platforms | 1 | ||||
-rw-r--r-- | arch/mips/Makefile | 7 | ||||
-rw-r--r-- | arch/mips/mipssim/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/mipssim/Platform | 6 |
4 files changed, 7 insertions, 9 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 9784c4941c9f..13244f326fff 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | platforms += ar7 | 3 | platforms += ar7 |
4 | platforms += loongson | 4 | platforms += loongson |
5 | platforms += mipssim | ||
5 | 6 | ||
6 | # include the platform specific files | 7 | # include the platform specific files |
7 | include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms)) | 8 | include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms)) |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 3eafe7fcb27c..cc2ae36a4546 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -334,13 +334,6 @@ load-$(CONFIG_MIPS_MALTA) += 0xffffffff80100000 | |||
334 | all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin | 334 | all-$(CONFIG_MIPS_MALTA) := $(COMPRESSION_FNAME).bin |
335 | 335 | ||
336 | # | 336 | # |
337 | # MIPS SIM | ||
338 | # | ||
339 | core-$(CONFIG_MIPS_SIM) += arch/mips/mipssim/ | ||
340 | cflags-$(CONFIG_MIPS_SIM) += -I$(srctree)/arch/mips/include/asm/mach-mipssim | ||
341 | load-$(CONFIG_MIPS_SIM) += 0x80100000 | ||
342 | |||
343 | # | ||
344 | # PMC-Sierra MSP SOCs | 337 | # PMC-Sierra MSP SOCs |
345 | # | 338 | # |
346 | core-$(CONFIG_PMC_MSP) += arch/mips/pmc-sierra/msp71xx/ | 339 | core-$(CONFIG_PMC_MSP) += arch/mips/pmc-sierra/msp71xx/ |
diff --git a/arch/mips/mipssim/Makefile b/arch/mips/mipssim/Makefile index 41b96571315e..01410a3f1729 100644 --- a/arch/mips/mipssim/Makefile +++ b/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 | |||
21 | 21 | ||
22 | obj-$(CONFIG_EARLY_PRINTK) += sim_console.o | 22 | obj-$(CONFIG_EARLY_PRINTK) += sim_console.o |
23 | obj-$(CONFIG_MIPS_MT_SMTC) += sim_smtc.o | 23 | obj-$(CONFIG_MIPS_MT_SMTC) += sim_smtc.o |
24 | |||
25 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/mipssim/Platform b/arch/mips/mipssim/Platform new file mode 100644 index 000000000000..3df60b8a12ef --- /dev/null +++ b/arch/mips/mipssim/Platform | |||
@@ -0,0 +1,6 @@ | |||
1 | # | ||
2 | # MIPS SIM | ||
3 | # | ||
4 | platform-$(CONFIG_MIPS_SIM) += mipssim/ | ||
5 | cflags-$(CONFIG_MIPS_SIM) += -I$(srctree)/arch/mips/include/asm/mach-mipssim | ||
6 | load-$(CONFIG_MIPS_SIM) += 0x80100000 | ||