Skip to content

Commit

Permalink
MIPS: TXx9: 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 34f5c1c commit a8b361d
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 32 deletions.
1 change: 1 addition & 0 deletions arch/mips/Kbuild.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ platforms += sgi-ip27
platforms += sgi-ip32
platforms += sibyte
platforms += sni
platforms += txx9
platforms += vr41xx
platforms += wrppmc

Expand Down
22 changes: 0 additions & 22 deletions arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -229,28 +229,6 @@ cflags-$(CONFIG_SOC_EMMA2RH) += -I$(srctree)/arch/mips/include/asm/mach-emma2rh
core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma/markeins/
load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000

#
# Common TXx9
#
core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/
cflags-$(CONFIG_MACH_TX39XX) += -I$(srctree)/arch/mips/include/asm/mach-tx39xx
load-$(CONFIG_MACH_TX39XX) += 0xffffffff80050000
core-$(CONFIG_MACH_TX49XX) += arch/mips/txx9/generic/
cflags-$(CONFIG_MACH_TX49XX) += -I$(srctree)/arch/mips/include/asm/mach-tx49xx
load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000

#
# Toshiba JMR-TX3927 board
#
core-$(CONFIG_TOSHIBA_JMR3927) += arch/mips/txx9/jmr3927/

#
# Toshiba RBTX49XX boards
#
core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/
core-$(CONFIG_TOSHIBA_RBTX4938) += arch/mips/txx9/rbtx4938/
core-$(CONFIG_TOSHIBA_RBTX4939) += arch/mips/txx9/rbtx4939/

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

Expand Down
17 changes: 17 additions & 0 deletions arch/mips/txx9/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# Common TXx9
#
obj-$(CONFIG_MACH_TX39XX) += generic/
obj-$(CONFIG_MACH_TX49XX) += generic/

#
# Toshiba JMR-TX3927 board
#
obj-$(CONFIG_TOSHIBA_JMR3927) += jmr3927/

#
# Toshiba RBTX49XX boards
#
obj-$(CONFIG_TOSHIBA_RBTX4927) += rbtx4927/
obj-$(CONFIG_TOSHIBA_RBTX4938) += rbtx4938/
obj-$(CONFIG_TOSHIBA_RBTX4939) += rbtx4939/
10 changes: 10 additions & 0 deletions arch/mips/txx9/Platform
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platform-$(CONFIG_MACH_TX39XX) += txx9/
platform-$(CONFIG_MACH_TX49XX) += txx9/

cflags-$(CONFIG_MACH_TX39XX) += \
-I$(srctree)/arch/mips/include/asm/mach-tx39xx
cflags-$(CONFIG_MACH_TX49XX) += \
-I$(srctree)/arch/mips/include/asm/mach-tx49xx

load-$(CONFIG_MACH_TX39XX) += 0xffffffff80050000
load-$(CONFIG_MACH_TX49XX) += 0xffffffff80100000
2 changes: 0 additions & 2 deletions arch/mips/txx9/generic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@ obj-$(CONFIG_SOC_TX4939) += setup_tx4939.o irq_tx4939.o
obj-$(CONFIG_TOSHIBA_FPCIB0) += smsc_fdc37m81x.o
obj-$(CONFIG_SPI) += spi_eeprom.o
obj-$(CONFIG_TXX9_7SEGLED) += 7segled.o

EXTRA_CFLAGS += -Werror
2 changes: 0 additions & 2 deletions arch/mips/txx9/jmr3927/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
#

obj-y += prom.o irq.o setup.o

EXTRA_CFLAGS += -Werror
2 changes: 0 additions & 2 deletions arch/mips/txx9/rbtx4927/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
obj-y += prom.o setup.o irq.o

EXTRA_CFLAGS += -Werror
2 changes: 0 additions & 2 deletions arch/mips/txx9/rbtx4938/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
obj-y += prom.o setup.o irq.o

EXTRA_CFLAGS += -Werror
2 changes: 0 additions & 2 deletions arch/mips/txx9/rbtx4939/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
obj-y += irq.o setup.o prom.o

EXTRA_CFLAGS += -Werror

0 comments on commit a8b361d

Please sign in to comment.