Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1639852 > unrolled thread
| Started by | Marc Ohlf <ohlf@mkt-sys.de> |
|---|---|
| First post | 2017-05-11 18:20 +0200 |
| Last post | 2017-05-12 14:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] soc: imx: gpc: build gpc only if hardware has gpc Marc Ohlf <ohlf@mkt-sys.de> - 2017-05-11 18:20 +0200
Re: [PATCH] soc: imx: gpc: build gpc only if hardware has gpc Lucas Stach <l.stach@pengutronix.de> - 2017-05-12 14:00 +0200
| From | Marc Ohlf <ohlf@mkt-sys.de> |
|---|---|
| Date | 2017-05-11 18:20 +0200 |
| Subject | [PATCH] soc: imx: gpc: build gpc only if hardware has gpc |
| Message-ID | <tFYYN-ax-15@gated-at.bofh.it> |
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> --- 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 -- 2.7.4
[toc] | [next] | [standalone]
| From | Lucas Stach <l.stach@pengutronix.de> |
|---|---|
| Date | 2017-05-12 14:00 +0200 |
| Message-ID | <tGhoJ-3ZF-7@gated-at.bofh.it> |
| In reply to | #1639852 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web