Skip to content

Commit 655f40e

Browse files
committed
MIPS: SNI: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent c136af0 commit 655f40e

4 files changed

Lines changed: 12 additions & 14 deletions

File tree

‎arch/mips/Kbuild.platforms‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ platforms += loongson
99
platforms += mipssim
1010
platforms += pmc-sierra
1111
platforms += sgi-ip27
12+
platforms += sni
1213
platforms += vr41xx
1314

1415
# include the platform specific files

‎arch/mips/Makefile‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -369,18 +369,6 @@ core-$(CONFIG_BCM63XX) += arch/mips/bcm63xx/
369369
cflags-$(CONFIG_BCM63XX) += -I$(srctree)/arch/mips/include/asm/mach-bcm63xx/
370370
load-$(CONFIG_BCM63XX) := 0xffffffff80010000
371371

372-
#
373-
# SNI RM
374-
#
375-
core-$(CONFIG_SNI_RM) += arch/mips/sni/
376-
cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm
377-
ifdef CONFIG_CPU_LITTLE_ENDIAN
378-
load-$(CONFIG_SNI_RM) += 0xffffffff80600000
379-
else
380-
load-$(CONFIG_SNI_RM) += 0xffffffff80030000
381-
endif
382-
all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff
383-
384372
#
385373
# Common TXx9
386374
#

‎arch/mips/sni/Makefile‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44

55
obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o
66
obj-$(CONFIG_EISA) += eisa.o
7-
8-
EXTRA_CFLAGS += -Werror

‎arch/mips/sni/Platform‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# SNI RM
3+
#
4+
platform-$(CONFIG_SNI_RM) += sni/
5+
cflags-$(CONFIG_SNI_RM) += -I$(srctree)/arch/mips/include/asm/mach-rm
6+
ifdef CONFIG_CPU_LITTLE_ENDIAN
7+
load-$(CONFIG_SNI_RM) += 0xffffffff80600000
8+
else
9+
load-$(CONFIG_SNI_RM) += 0xffffffff80030000
10+
endif
11+
all-$(CONFIG_SNI_RM) := $(COMPRESSION_FNAME).ecoff

0 commit comments

Comments
 (0)