Skip to content

Commit

Permalink
MIPS: SNI: Migrate to new platform makefile style.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <[email protected]>
  • Loading branch information
ralfbaechle committed Aug 5, 2010
1 parent c136af0 commit 655f40e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
1 change: 1 addition & 0 deletions arch/mips/Kbuild.platforms
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ platforms += loongson
platforms += mipssim
platforms += pmc-sierra
platforms += sgi-ip27
platforms += sni
platforms += vr41xx

# include the platform specific files
Expand Down
12 changes: 0 additions & 12 deletions arch/mips/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -369,18 +369,6 @@ core-$(CONFIG_BCM63XX) += arch/mips/bcm63xx/
cflags-$(CONFIG_BCM63XX) += -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/
load-$(CONFIG_BCM63XX) := 0xffffffff80010000

#
# SNI RM
#
core-$(CONFIG_SNI_RM) += arch/mips/sni/
cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm
ifdef CONFIG_CPU_LITTLE_ENDIAN
load-$(CONFIG_SNI_RM) += 0xffffffff80600000
else
load-$(CONFIG_SNI_RM) += 0xffffffff80030000
endif
all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff

#
# Common TXx9
#
Expand Down
2 changes: 0 additions & 2 deletions arch/mips/sni/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@

obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o
obj-$(CONFIG_EISA) += eisa.o

EXTRA_CFLAGS += -Werror
11 changes: 11 additions & 0 deletions arch/mips/sni/Platform
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# SNI RM
#
platform-$(CONFIG_SNI_RM) += sni/
cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm
ifdef CONFIG_CPU_LITTLE_ENDIAN
load-$(CONFIG_SNI_RM) += 0xffffffff80600000
else
load-$(CONFIG_SNI_RM) += 0xffffffff80030000
endif
all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff

0 comments on commit 655f40e

Please sign in to comment.