diff options
author | Yoichi Yuasa <yuasa@linux-mips.org> | 2010-06-02 03:51:16 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:47 -0400 |
commit | 5c6aecbda882b62c84abf72cf056e39e215feac3 (patch) | |
tree | a679b7e59d8d5089826695c85785fbfbdca2a529 /arch/mips | |
parent | 6a0cd4dca00110fd11b8b07b7c2e08a60d22c580 (diff) |
MIPS: Move Cobalt Makefile parts to their own Platform file
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1321/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kbuild.platforms | 1 | ||||
-rw-r--r-- | arch/mips/Makefile | 7 | ||||
-rw-r--r-- | arch/mips/cobalt/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/cobalt/Platform | 6 |
4 files changed, 7 insertions, 9 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 77e48b9bdded..6c163c278222 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | platforms += alchemy | 3 | platforms += alchemy |
4 | platforms += ar7 | 4 | platforms += ar7 |
5 | platforms += cobalt | ||
5 | platforms += loongson | 6 | platforms += loongson |
6 | platforms += mipssim | 7 | platforms += mipssim |
7 | platforms += sgi-ip27 | 8 | platforms += sgi-ip27 |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index ec2cd73a2b70..01fbd91a52c8 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -199,13 +199,6 @@ cflags-$(CONFIG_MACH_JAZZ) += -I$(srctree)/arch/mips/include/asm/mach-jazz | |||
199 | load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000 | 199 | load-$(CONFIG_MACH_JAZZ) += 0xffffffff80080000 |
200 | 200 | ||
201 | # | 201 | # |
202 | # Cobalt Server | ||
203 | # | ||
204 | core-$(CONFIG_MIPS_COBALT) += arch/mips/cobalt/ | ||
205 | cflags-$(CONFIG_MIPS_COBALT) += -I$(srctree)/arch/mips/include/asm/mach-cobalt | ||
206 | load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000 | ||
207 | |||
208 | # | ||
209 | # DECstation family | 202 | # DECstation family |
210 | # | 203 | # |
211 | core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/ | 204 | core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/ |
diff --git a/arch/mips/cobalt/Makefile b/arch/mips/cobalt/Makefile index 237926288d6d..61a334ac43ac 100644 --- a/arch/mips/cobalt/Makefile +++ b/arch/mips/cobalt/Makefile | |||
@@ -7,5 +7,3 @@ obj-y := buttons.o irq.o lcd.o led.o reset.o rtc.o serial.o setup.o time.o | |||
7 | obj-$(CONFIG_PCI) += pci.o | 7 | obj-$(CONFIG_PCI) += pci.o |
8 | obj-$(CONFIG_EARLY_PRINTK) += console.o | 8 | obj-$(CONFIG_EARLY_PRINTK) += console.o |
9 | obj-$(CONFIG_MTD_PHYSMAP) += mtd.o | 9 | obj-$(CONFIG_MTD_PHYSMAP) += mtd.o |
10 | |||
11 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/cobalt/Platform b/arch/mips/cobalt/Platform new file mode 100644 index 000000000000..34123efd6dfe --- /dev/null +++ b/arch/mips/cobalt/Platform | |||
@@ -0,0 +1,6 @@ | |||
1 | # | ||
2 | # Cobalt Server | ||
3 | # | ||
4 | platform-$(CONFIG_MIPS_COBALT) += cobalt/ | ||
5 | cflags-$(CONFIG_MIPS_COBALT) += -I$(srctree)/arch/mips/include/asm/mach-cobalt | ||
6 | load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000 | ||