Skip to content

Commit

Permalink
MIPS: PNX8550: Migrate to new platform makefile style.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Aug 5, 2010
1 parent 91a548d commit ad5f263
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 20 deletions.
1 change: 1 addition & 0 deletions arch/mips/Kbuild.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ platforms += mipssim
platforms += mti-malta
platforms += pmc-sierra
platforms += pnx833x
platforms += pnx8550
platforms += powertv
platforms += rb532
platforms += sgi-ip22
Expand Down
18 changes: 0 additions & 18 deletions arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,24 +191,6 @@ endif
#
include $(srctree)/arch/mips/Kbuild.platforms

#
# Common NXP PNX8550
#
core-$(CONFIG_SOC_PNX8550) += arch/mips/pnx8550/common/
cflags-$(CONFIG_SOC_PNX8550) += -I$(srctree)/arch/mips/include/asm/mach-pnx8550

#
# NXP PNX8550 JBS board
#
core-$(CONFIG_PNX8550_JBS) += arch/mips/pnx8550/jbs/
#cflags-$(CONFIG_PNX8550_JBS) += -I$(srctree)/arch/mips/include/asm/mach-pnx8550
load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000

# NXP PNX8550 STB810 board
#
core-$(CONFIG_PNX8550_STB810) += arch/mips/pnx8550/stb810/
load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000

cflags-y += -I$(srctree)/arch/mips/include/asm/mach-generic
drivers-$(CONFIG_PCI) += arch/mips/pci/

Expand Down
3 changes: 3 additions & 0 deletions arch/mips/pnx8550/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_SOC_PNX8550) += common/
obj-$(CONFIG_PNX8550_JBS) += jbs/
obj-$(CONFIG_PNX8550_STB810) += stb810/
7 changes: 7 additions & 0 deletions arch/mips/pnx8550/Platform
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
platform-$(CONFIG_SOC_PNX8550) += pnx8550/

cflags-$(CONFIG_SOC_PNX8550) += \
-I$(srctree)/arch/mips/include/asm/mach-pnx8550

load-$(CONFIG_PNX8550_JBS) += 0xffffffff80060000
load-$(CONFIG_PNX8550_STB810) += 0xffffffff80060000
2 changes: 0 additions & 2 deletions arch/mips/pnx8550/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@

obj-y := setup.o prom.o int.o reset.o time.o proc.o platform.o
obj-$(CONFIG_PCI) += pci.o

EXTRA_CFLAGS += -Werror

0 comments on commit ad5f263

Please sign in to comment.