diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:50 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:50 -0400 |
commit | 91598965ecb508dc7bc154ec9d3e35dcadb3fa5f (patch) | |
tree | 4079e8d40a662707913256fb83292edfbbb78ea2 | |
parent | 4fa8a557c301b14a53dcd654aa0c2988c71cbd4d (diff) |
MIPS: RB532: 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 | 7 | ||||
-rw-r--r-- | arch/mips/rb532/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/rb532/Platform | 7 |
4 files changed, 8 insertions, 9 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 8a8f99bfe67f..61f150bf8907 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 += mti-malta | 10 | platforms += mti-malta |
11 | platforms += pmc-sierra | 11 | platforms += pmc-sierra |
12 | platforms += rb532 | ||
12 | platforms += sgi-ip22 | 13 | platforms += sgi-ip22 |
13 | platforms += sgi-ip27 | 14 | platforms += sgi-ip27 |
14 | platforms += sgi-ip32 | 15 | platforms += sgi-ip32 |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 175c647c8030..2fbce8e25f36 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -330,13 +330,6 @@ load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000 | |||
330 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ | 330 | core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/ |
331 | 331 | ||
332 | # | 332 | # |
333 | # Routerboard 532 board | ||
334 | # | ||
335 | core-$(CONFIG_MIKROTIK_RB532) += arch/mips/rb532/ | ||
336 | cflags-$(CONFIG_MIKROTIK_RB532) += -I$(srctree)/arch/mips/include/asm/mach-rc32434 | ||
337 | load-$(CONFIG_MIKROTIK_RB532) += 0xffffffff80101000 | ||
338 | |||
339 | # | ||
340 | # Toshiba RBTX49XX boards | 333 | # Toshiba RBTX49XX boards |
341 | # | 334 | # |
342 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ | 335 | core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/ |
diff --git a/arch/mips/rb532/Makefile b/arch/mips/rb532/Makefile index 8f0b6b6a1625..efdecdb6e3ea 100644 --- a/arch/mips/rb532/Makefile +++ b/arch/mips/rb532/Makefile | |||
@@ -3,5 +3,3 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y += irq.o time.o setup.o serial.o prom.o gpio.o devices.o | 5 | obj-y += irq.o time.o setup.o serial.o prom.o gpio.o devices.o |
6 | |||
7 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/rb532/Platform b/arch/mips/rb532/Platform new file mode 100644 index 000000000000..aeec45a7cbb3 --- /dev/null +++ b/arch/mips/rb532/Platform | |||
@@ -0,0 +1,7 @@ | |||
1 | # | ||
2 | # Routerboard 532 | ||
3 | # | ||
4 | platform-$(CONFIG_MIKROTIK_RB532) += rb532/ | ||
5 | cflags-$(CONFIG_MIKROTIK_RB532) += \ | ||
6 | -I$(srctree)/arch/mips/include/asm/mach-rc32434 | ||
7 | load-$(CONFIG_MIKROTIK_RB532) += 0xffffffff80101000 | ||