diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:49 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:49 -0400 |
commit | 655f40e4870a46551a4510695765913d2c0518ce (patch) | |
tree | f564968be0cd4f4b3b703d47a8bf044a2cdbbea8 | |
parent | c136af0906ba714b67bdc8623a0f82ddd7a7ba21 (diff) |
MIPS: SNI: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/Kbuild.platforms | 1 | ||||
-rw-r--r-- | arch/mips/Makefile | 12 | ||||
-rw-r--r-- | arch/mips/sni/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/sni/Platform | 11 |
4 files changed, 12 insertions, 14 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 0ba692c1017a..e391b6d473e3 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms | |||
@@ -9,6 +9,7 @@ platforms += loongson | |||
9 | platforms += mipssim | 9 | platforms += mipssim |
10 | platforms += pmc-sierra | 10 | platforms += pmc-sierra |
11 | platforms += sgi-ip27 | 11 | platforms += sgi-ip27 |
12 | platforms += sni | ||
12 | platforms += vr41xx | 13 | platforms += vr41xx |
13 | 14 | ||
14 | # include the platform specific files | 15 | # include the platform specific files |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index efaae8578ee7..ccbb367b5bf1 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -370,18 +370,6 @@ cflags-$(CONFIG_BCM63XX) += -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/ | |||
370 | load-$(CONFIG_BCM63XX) := 0xffffffff80010000 | 370 | load-$(CONFIG_BCM63XX) := 0xffffffff80010000 |
371 | 371 | ||
372 | # | 372 | # |
373 | # SNI RM | ||
374 | # | ||
375 | core-$(CONFIG_SNI_RM) += arch/mips/sni/ | ||
376 | cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm | ||
377 | ifdef CONFIG_CPU_LITTLE_ENDIAN | ||
378 | load-$(CONFIG_SNI_RM) += 0xffffffff80600000 | ||
379 | else | ||
380 | load-$(CONFIG_SNI_RM) += 0xffffffff80030000 | ||
381 | endif | ||
382 | all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff | ||
383 | |||
384 | # | ||
385 | # Common TXx9 | 373 | # Common TXx9 |
386 | # | 374 | # |
387 | core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/ | 375 | core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/ |
diff --git a/arch/mips/sni/Makefile b/arch/mips/sni/Makefile index a7dbeebe7fe6..9d3bad3200ce 100644 --- a/arch/mips/sni/Makefile +++ b/arch/mips/sni/Makefile | |||
@@ -4,5 +4,3 @@ | |||
4 | 4 | ||
5 | obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o | 5 | obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o |
6 | obj-$(CONFIG_EISA) += eisa.o | 6 | obj-$(CONFIG_EISA) += eisa.o |
7 | |||
8 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/sni/Platform b/arch/mips/sni/Platform new file mode 100644 index 000000000000..2644a9d63c0f --- /dev/null +++ b/arch/mips/sni/Platform | |||
@@ -0,0 +1,11 @@ | |||
1 | # | ||
2 | # SNI RM | ||
3 | # | ||
4 | platform-$(CONFIG_SNI_RM) += sni/ | ||
5 | cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm | ||
6 | ifdef CONFIG_CPU_LITTLE_ENDIAN | ||
7 | load-$(CONFIG_SNI_RM) += 0xffffffff80600000 | ||
8 | else | ||
9 | load-$(CONFIG_SNI_RM) += 0xffffffff80030000 | ||
10 | endif | ||
11 | all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff | ||