]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: mvebu: refine which files are build in mach-mvebu
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 28 Apr 2014 18:20:39 +0000 (20:20 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 28 Apr 2014 18:45:10 +0000 (18:45 +0000)
commitb8dd0227947fec8286afdba495590a9ae8111795
tree549ea3fbada04528e0477c6b4dd6c3cfcf1273b8
parent14bde0f0fb548f89027ab161a38a8ae046a22759
ARM: mvebu: refine which files are build in mach-mvebu

Following the integration into mach-mvebu of the Kirkwood ARMv5
support, we need to be more careful about which files get built. For
example, the pmsu.c file now calls wfi(), which only exists on ARMv7
platforms.

Therefore, this commit changes mach-mvebu/Makefile to build the Armada
370/XP/375/38x specific files only when CONFIG_MACH_MVEBU_V7 is
enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1398709239-6126-1-git-send-email-thomas.petazzoni@free-electrons.com
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/Makefile