Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c465a32f authored by Marc Ohlf's avatar Marc Ohlf Committed by Shawn Guo
Browse files

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: default avatarMarc Ohlf <ohlf@mkt-sys.de>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 2ea659a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
obj-y += gpc.o
obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
obj-$(CONFIG_IMX7_PM_DOMAINS) += gpcv2.o