Commit 91598965ecb508dc7bc154ec9d3e35dcadb3fa5f

Authored by Ralf Baechle
1 parent 4fa8a557c3

MIPS: RB532: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 4 changed files with 8 additions and 9 deletions Side-by-side Diff

arch/mips/Kbuild.platforms
... ... @@ -9,6 +9,7 @@
9 9 platforms += mipssim
10 10 platforms += mti-malta
11 11 platforms += pmc-sierra
  12 +platforms += rb532
12 13 platforms += sgi-ip22
13 14 platforms += sgi-ip27
14 15 platforms += sgi-ip32
... ... @@ -330,13 +330,6 @@
330 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 333 # Toshiba RBTX49XX boards
341 334 #
342 335 core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/
arch/mips/rb532/Makefile
... ... @@ -3,6 +3,4 @@
3 3 #
4 4  
5 5 obj-y += irq.o time.o setup.o serial.o prom.o gpio.o devices.o
6   -
7   -EXTRA_CFLAGS += -Werror
arch/mips/rb532/Platform
  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