Skip to content

Commit

Permalink
MIPS: WRPPMC: 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 9ebc293 commit f70a974
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 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 += sgi-ip27
platforms += sgi-ip32
platforms += sni
platforms += vr41xx
platforms += wrppmc

# include the platform specific files
include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platforms))
7 changes: 0 additions & 7 deletions arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,6 @@ endif
#
include $(srctree)/arch/mips/Kbuild.platforms

#
# Wind River PPMC Board (4KC + GT64120)
#
core-$(CONFIG_WR_PPMC) += arch/mips/wrppmc/
cflags-$(CONFIG_WR_PPMC) += -I$(srctree)/arch/mips/include/asm/mach-wrppmc
load-$(CONFIG_WR_PPMC) += 0xffffffff80100000

#
# LASAT platforms
#
Expand Down
4 changes: 1 addition & 3 deletions arch/mips/wrppmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
# Copyright 2006 Wind River System, Inc.
# Author: Rongkai.Zhan <rongkai.zhan@windriver.com>
#
# Makefile for the Wind River MIPS 4KC PPMC Eval Board
# Makefile for the Wind River MIPS 4Kc PPMC Eval Board
#

obj-y += irq.o pci.o reset.o serial.o setup.o time.o

EXTRA_CFLAGS += -Werror
7 changes: 7 additions & 0 deletions arch/mips/wrppmc/Platform
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Wind River PPMC Board (4KC + GT64120)
#
platform-$(CONFIG_WR_PPMC) += wrppmc/
cflags-$(CONFIG_WR_PPMC) += \
-I$(srctree)/arch/mips/include/asm/mach-wrppmc
load-$(CONFIG_WR_PPMC) += 0xffffffff80100000

0 comments on commit f70a974

Please sign in to comment.