diff options
author | Marc Ohlf <ohlf@mkt-sys.de> | 2017-05-11 18:12:19 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-05-15 04:22:25 +0200 |
commit | c465a32fdde67c029ba8880f2878491042b72524 (patch) | |
tree | 9ee4f875a2c5e47363af7505b108f596ac7ca826 /drivers/soc | |
parent | Linux 4.12-rc1 (diff) | |
download | linux-c465a32fdde67c029ba8880f2878491042b72524.tar.xz linux-c465a32fdde67c029ba8880f2878491042b72524.zip |
soc: imx: gpc: build gpc only if hardware has gpc
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/imx/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/imx/Makefile b/drivers/soc/imx/Makefile index 5b6e396c1121..aab41a5cc317 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 |