lkml.org 
[lkml]   [2017]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] soc: imx: gpc: build gpc only if hardware has gpc
From
Date
Am Donnerstag, den 11.05.2017, 18:12 +0200 schrieb Marc Ohlf:
> Add CONFIG_HAVE_IMX_GPC to goal definition of gpc.o,
> to avoid building it for hardware that does not need it.
>
> Signed-off-by: Marc Ohlf <ohlf@mkt-sys.de>

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>

> ---
> drivers/soc/imx/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/imx/Makefile b/drivers/soc/imx/Makefile
> index 5b6e396..aab41a5c 100644
> --- a/drivers/soc/imx/Makefile
> +++ b/drivers/soc/imx/Makefile
> @@ -1,2 +1,2 @@
> -obj-y += gpc.o
> +obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
> obj-$(CONFIG_IMX7_PM_DOMAINS) += gpcv2.o


\
 
 \ /
  Last update: 2017-05-12 13:53    [W:0.026 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site