Subject: [PATCH] soc: Allow test-building of MediaTek drivers

From: [email-masked] (Jean Delvare)
Date: Thu, 5 Oct 2017 11:17:43 +0200

The COMPILE_TEST alternative dependency allows test-building the
drivers but only as long as the build system itself will look into
the directory where the drivers reside.

Signed-off-by: Jean Delvare <[email-masked]>
Cc: Sean Wang <[email-masked]>
Cc: Matthias Brugger <[email-masked]>
---
 drivers/soc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-4.14-rc3.orig/drivers/soc/Makefile	2017-09-17 00:47:51.000000000 +0200
+++ linux-4.14-rc3/drivers/soc/Makefile	2017-10-05 09:44:01.478589469 +0200
@@ -10,7 +10,7 @@ obj-$(CONFIG_MACH_DOVE)		+= dove/
 obj-y				+= fsl/
 obj-$(CONFIG_ARCH_MXC)		+= imx/
 obj-$(CONFIG_SOC_XWAY)		+= lantiq/
-obj-$(CONFIG_ARCH_MEDIATEK)	+= mediatek/
+obj-y				+= mediatek/
 obj-$(CONFIG_ARCH_MESON)	+= amlogic/
 obj-$(CONFIG_ARCH_QCOM)		+= qcom/
 obj-y				+= renesas/

-- 
Jean Delvare
SUSE L3 Support