Skip to content

Commit

Permalink
MIPS: PNX833x: 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 9453e84 commit 91a548d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
1 change: 1 addition & 0 deletions arch/mips/Kbuild.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ platforms += loongson
platforms += mipssim
platforms += mti-malta
platforms += pmc-sierra
platforms += pnx833x
platforms += powertv
platforms += rb532
platforms += sgi-ip22
Expand Down
8 changes: 0 additions & 8 deletions arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,6 @@ endif
#
include $(srctree)/arch/mips/Kbuild.platforms

# NXP STB225
core-$(CONFIG_SOC_PNX833X) += arch/mips/pnx833x/common/
cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x
core-$(CONFIG_NXP_STB220) += arch/mips/pnx833x/stb22x/
load-$(CONFIG_NXP_STB220) += 0xffffffff80001000
core-$(CONFIG_NXP_STB225) += arch/mips/pnx833x/stb22x/
load-$(CONFIG_NXP_STB225) += 0xffffffff80001000

#
# Common NXP PNX8550
#
Expand Down
3 changes: 3 additions & 0 deletions arch/mips/pnx833x/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_SOC_PNX833X) += common/
obj-$(CONFIG_NXP_STB220) += stb22x/
obj-$(CONFIG_NXP_STB225) += stb22x/
5 changes: 5 additions & 0 deletions arch/mips/pnx833x/Platform
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# NXP STB225
platform-$(CONFIG_SOC_PNX833X) += pnx833x/
cflags-$(CONFIG_SOC_PNX833X) += -Iarch/mips/include/asm/mach-pnx833x
load-$(CONFIG_NXP_STB220) += 0xffffffff80001000
load-$(CONFIG_NXP_STB225) += 0xffffffff80001000
2 changes: 0 additions & 2 deletions arch/mips/pnx833x/common/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
obj-y := interrupts.o platform.o prom.o setup.o reset.o

EXTRA_CFLAGS += -Werror
2 changes: 0 additions & 2 deletions arch/mips/pnx833x/stb22x/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
obj-y := board.o

EXTRA_CFLAGS += -Werror

0 comments on commit 91a548d

Please sign in to comment.