Commit ad5f2635578a19ff8885bff1ef4d5adf7193cb02

Authored by Ralf Baechle
1 parent 91a548d57e

MIPS: PNX8550: Migrate to new platform makefile style.

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

Showing 5 changed files with 11 additions and 20 deletions Side-by-side Diff

arch/mips/Kbuild.platforms
... ... @@ -15,6 +15,7 @@
15 15 platforms += mti-malta
16 16 platforms += pmc-sierra
17 17 platforms += pnx833x
  18 +platforms += pnx8550
18 19 platforms += powertv
19 20 platforms += rb532
20 21 platforms += sgi-ip22
... ... @@ -191,24 +191,6 @@
191 191 #
192 192 include $(srctree)/arch/mips/Kbuild.platforms
193 193  
194   -#
195   -# Common NXP PNX8550
196   -#
197   -core-$(CONFIG_SOC_PNX8550) += arch/mips/pnx8550/common/
198   -cflags-$(CONFIG_SOC_PNX8550) += -I$(srctree)/arch/mips/include/asm/mach-pnx8550
199   -
200   -#
201   -# NXP PNX8550 JBS board
202   -#
203   -core-$(CONFIG_PNX8550_JBS) += arch/mips/pnx8550/jbs/
204   -#cflags-$(CONFIG_PNX8550_JBS) += -I$(srctree)/arch/mips/include/asm/mach-pnx8550
205   -load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000
206   -
207   -# NXP PNX8550 STB810 board
208   -#
209   -core-$(CONFIG_PNX8550_STB810) += arch/mips/pnx8550/stb810/
210   -load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000
211   -
212 194 cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
213 195 drivers-$(CONFIG_PCI) += arch/mips/pci/
214 196  
arch/mips/pnx8550/Makefile
  1 +obj-$(CONFIG_SOC_PNX8550) += common/
  2 +obj-$(CONFIG_PNX8550_JBS) += jbs/
  3 +obj-$(CONFIG_PNX8550_STB810) += stb810/
arch/mips/pnx8550/Platform
  1 +platform-$(CONFIG_SOC_PNX8550) += pnx8550/
  2 +
  3 +cflags-$(CONFIG_SOC_PNX8550) += \
  4 + -I$(srctree)/arch/mips/include/asm/mach-pnx8550
  5 +
  6 +load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000
  7 +load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000
arch/mips/pnx8550/common/Makefile
... ... @@ -24,6 +24,4 @@
24 24  
25 25 obj-y := setup.o prom.o int.o reset.o time.o proc.o platform.o
26 26 obj-$(CONFIG_PCI) += pci.o
27   -
28   -EXTRA_CFLAGS += -Werror