]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mvebu: Makefile clean-up
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 3 Jan 2014 15:38:07 +0000 (16:38 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 5 Feb 2014 06:16:42 +0000 (06:16 +0000)
Some objects depend on CONFIG_ARCH_MVEBU whereas this whole Makefile
depends on the same symbol. Moreover CONFIG_ARCH_MVEBU can't be
selected as a module. So we can simplify this Makefile by moving all
the object from obj-$(CONFIG_ARCH_MVEBU) to obj-y.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/Makefile

index 878aebe98dcc817029732847f6b2fb39880f8ba2..d99846103bbbed5ff84ba536c6485bf38018850b 100644 (file)
@@ -3,8 +3,7 @@ ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \
 
 AFLAGS_coherency_ll.o          := -Wa,-march=armv7-a
 
-obj-y                           += system-controller.o mvebu-soc-id.o
+obj-y                           += coherency.o coherency_ll.o pmsu.o system-controller.o mvebu-soc-id.o
 obj-$(CONFIG_MACH_ARMADA_370_XP) += armada-370-xp.o
-obj-$(CONFIG_ARCH_MVEBU)        += coherency.o coherency_ll.o pmsu.o
 obj-$(CONFIG_SMP)                += platsmp.o headsmp.o
 obj-$(CONFIG_HOTPLUG_CPU)        += hotplug.o