]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx6: build suspend-imx6.o with CONFIG_SOC_IMX6
authorShawn Guo <shawn.guo@linaro.org>
Thu, 27 Feb 2014 08:00:55 +0000 (16:00 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:14 +0000 (21:16 -0600)
commit6c8c5038cca4bf2b478d9fe93cf8b957f0bc9f40
tree725f986ccd328937143ca6ffd730a991d2ccf3d9
parentdc7883ac0268585be9e82a888edd7aac6aadabc6
ARM: imx6: build suspend-imx6.o with CONFIG_SOC_IMX6

Even when CONFIG_SUSPEND is enabled, it makes no sense to build
suspend-imx6.o if none of i.MX6 support is built in.  Let's build
suspend-imx6.o only when both CONFIG_SUSPEND and CONFIG_SOC_IMX6 are
enabled.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
[shawn.guo: cherry-pick commit 6a5637e52eca from upstream]
arch/arm/mach-imx/Makefile