OSDN Git Service

MIPS: Fix builds for VR41xx platforms
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 14 May 2020 11:07:23 +0000 (13:07 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 15 May 2020 07:09:58 +0000 (09:09 +0200)
Changing inclusion of Platform files, broke VR41xx platforms. Add Makefile
to vr41xx directory and traverse subdirs from it.

Fixes: 26bff9eb49201aeb ("MIPS: Only include the platformfile needed")
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/vr41xx/Makefile [new file with mode: 0644]
arch/mips/vr41xx/Platform

diff --git a/arch/mips/vr41xx/Makefile b/arch/mips/vr41xx/Makefile
new file mode 100644 (file)
index 0000000..765020d
--- /dev/null
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+obj-$(CONFIG_MACH_VR41XX)      += common/
+obj-$(CONFIG_CASIO_E55)                += casio-e55/
+obj-$(CONFIG_IBM_WORKPAD)      += ibm-workpad/
index b6c8d5c..3f593a3 100644 (file)
@@ -1,19 +1,16 @@
 #
 # NEC VR4100 series based machines
 #
-platform-$(CONFIG_MACH_VR41XX) += vr41xx/common/
 cflags-$(CONFIG_MACH_VR41XX)   += -I$(srctree)/arch/mips/include/asm/mach-vr41xx
 
 #
 # CASIO CASSIPEIA E-55/65 (VR4111)
 #
-platform-$(CONFIG_CASIO_E55)   += vr41xx/casio-e55/
 load-$(CONFIG_CASIO_E55)       += 0xffffffff80004000
 
 #
 # IBM WorkPad z50 (VR4121)
 #
-platform-$(CONFIG_IBM_WORKPAD) += vr41xx/ibm-workpad/
 load-$(CONFIG_IBM_WORKPAD)     += 0xffffffff80004000
 
 #