[PATCH -next] imx7: fix Kconfig warning and build errors

Fabio Estevam festevam at gmail.com
Wed Apr 12 15:55:49 EDT 2017


On Wed, Apr 12, 2017 at 4:24 PM, Randy Dunlap <rdunlap at infradead.org> wrote:

> You want IMX7_PM_DOMAINS to be built without having
> PM_GENERIC_DOMAINS enabled?
>
> On x86, your suggestion works for me... because of this
> in drivers/soc/Makefile:
>
> obj-$(CONFIG_ARCH_MXC)          += imx/
>
> and I don't have CONFIG_ARCH_MXC, so the gpc* binaries are
> not being built at all.  This might be a small bug.

Just tested your patch with imx_v6_v7_defconfig + manually doing
CONFIG_PM=n  and it does fix the build error, thanks:

Tested-by: Fabio Estevam <fabio.estevam at nxp.com>



More information about the linux-arm-kernel mailing list