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

Sean Wang sean.wang at mediatek.com
Mon Oct 16 00:31:59 PDT 2017


On Thu, 2017-10-05 at 11:17 +0200, Jean Delvare wrote:
> 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 <jdelvare at suse.de>
> Cc: Sean Wang <sean.wang at mediatek.com>
> Cc: Matthias Brugger <matthias.bgg at gmail.com>

Acked-by: Sean Wang <sean.wang at mediatek.com>

> ---
>  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/
> 
> 





More information about the linux-arm-kernel mailing list