Commit 655f40e4870a46551a4510695765913d2c0518ce

Authored by Ralf Baechle
1 parent c136af0906

MIPS: SNI: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 4 changed files with 12 additions and 14 deletions Side-by-side Diff

arch/mips/Kbuild.platforms
... ... @@ -9,6 +9,7 @@
9 9 platforms += mipssim
10 10 platforms += pmc-sierra
11 11 platforms += sgi-ip27
  12 +platforms += sni
12 13 platforms += vr41xx
13 14  
14 15 # include the platform specific files
... ... @@ -370,18 +370,6 @@
370 370 load-$(CONFIG_BCM63XX) := 0xffffffff80010000
371 371  
372 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   -
384   -#
385 373 # Common TXx9
386 374 #
387 375 core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/
arch/mips/sni/Makefile
... ... @@ -4,6 +4,4 @@
4 4  
5 5 obj-y += irq.o reset.o setup.o a20r.o rm200.o pcimt.o pcit.o time.o
6 6 obj-$(CONFIG_EISA) += eisa.o
7   -
8   -EXTRA_CFLAGS += -Werror
arch/mips/sni/Platform
  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