Skip to content

Commit c136af0

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

4 files changed

Lines changed: 9 additions & 10 deletions

File tree

‎arch/mips/Kbuild.platforms‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
platforms += alchemy
44
platforms += ar7
55
platforms += cobalt
6+
platforms += dec
67
platforms += jazz
78
platforms += loongson
89
platforms += mipssim

‎arch/mips/Makefile‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,6 @@ endif
191191
#
192192
include $(srctree)/arch/mips/Kbuild.platforms
193193

194-
#
195-
# DECstation family
196-
#
197-
core-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/
198-
cflags-$(CONFIG_MACH_DECSTATION)+= -I$(srctree)/arch/mips/include/asm/mach-dec
199-
libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/
200-
load-$(CONFIG_MACH_DECSTATION) += 0xffffffff80040000
201-
202194
#
203195
# Wind River PPMC Board (4KC + GT64120)
204196
#

‎arch/mips/dec/Makefile‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ obj-y := ecc-berr.o int-handler.o ioasic-irq.o kn01-berr.o \
88
obj-$(CONFIG_PROM_CONSOLE) += promcon.o
99
obj-$(CONFIG_TC) += tc.o
1010
obj-$(CONFIG_CPU_HAS_WB) += wbflush.o
11-
12-
EXTRA_CFLAGS += -Werror

‎arch/mips/dec/Platform‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# DECstation family
3+
#
4+
platform-$(CONFIG_MACH_DECSTATION) = dec/
5+
cflags-$(CONFIG_MACH_DECSTATION) += \
6+
-I$(srctree)/arch/mips/include/asm/mach-dec
7+
libs-$(CONFIG_MACH_DECSTATION) += arch/mips/dec/prom/
8+
load-$(CONFIG_MACH_DECSTATION) += 0xffffffff80040000

0 commit comments

Comments
 (0)