diff options
author | Marc Ohlf | 2017-05-11 18:12:19 +0200 |
---|---|---|
committer | Shawn Guo | 2017-05-15 10:22:25 +0800 |
commit | c465a32fdde67c029ba8880f2878491042b72524 (patch) | |
tree | 9ee4f875a2c5e47363af7505b108f596ac7ca826 /drivers/soc/imx | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) |
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/imx')
-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 |