Răsfoiți Sursa

MIPS: DECstation: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 15 ani în urmă
părinte
comite
c136af0906
4 a modificat fișierele cu 9 adăugiri și 10 ștergeri
  1. 1 0
      arch/mips/Kbuild.platforms
  2. 0 8
      arch/mips/Makefile
  3. 0 2
      arch/mips/dec/Makefile
  4. 8 0
      arch/mips/dec/Platform

+ 1 - 0
arch/mips/Kbuild.platforms

@@ -3,6 +3,7 @@
 platforms += alchemy
 platforms += ar7
 platforms += cobalt
+platforms += dec
 platforms += jazz
 platforms += loongson
 platforms += mipssim

+ 0 - 8
arch/mips/Makefile

@@ -191,14 +191,6 @@ endif
 #
 include $(srctree)/arch/mips/Kbuild.platforms
 
-#
-# DECstation family
-#
-core-$(CONFIG_MACH_DECSTATION)	+= arch/mips/dec/
-cflags-$(CONFIG_MACH_DECSTATION)+= -I$(srctree)/arch/mips/include/asm/mach-dec
-libs-$(CONFIG_MACH_DECSTATION)	+= arch/mips/dec/prom/
-load-$(CONFIG_MACH_DECSTATION)	+= 0xffffffff80040000
-
 #
 # Wind River PPMC Board (4KC + GT64120)
 #

+ 0 - 2
arch/mips/dec/Makefile

@@ -8,5 +8,3 @@ obj-y		:= ecc-berr.o int-handler.o ioasic-irq.o kn01-berr.o \
 obj-$(CONFIG_PROM_CONSOLE)	+= promcon.o
 obj-$(CONFIG_TC)		+= tc.o
 obj-$(CONFIG_CPU_HAS_WB)	+= wbflush.o
-
-EXTRA_CFLAGS += -Werror

+ 8 - 0
arch/mips/dec/Platform

@@ -0,0 +1,8 @@
+#
+# DECstation family
+#
+platform-$(CONFIG_MACH_DECSTATION)	= dec/
+cflags-$(CONFIG_MACH_DECSTATION)	+= \
+			-I$(srctree)/arch/mips/include/asm/mach-dec
+libs-$(CONFIG_MACH_DECSTATION)		+= arch/mips/dec/prom/
+load-$(CONFIG_MACH_DECSTATION)		+= 0xffffffff80040000