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

From: Fabio Estevam
Date: Wed Apr 12 2017 - 15:55:57 EST


On Wed, Apr 12, 2017 at 4:24 PM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> 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@xxxxxxx>