xref: /openbmc/linux/arch/arm/mach-mvebu/Makefile (revision a2faac39)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2549fba3aSArnd Bergmannccflags-y := -I$(srctree)/arch/arm/plat-orion/include
3387798b3SRob Herring
4ce800342SArnd Bergmannobj-$(CONFIG_MACH_MVEBU_ANY)	 += system-controller.o mvebu-soc-id.o
50041464cSThomas Petazzoni
60041464cSThomas Petazzoniifeq ($(CONFIG_MACH_MVEBU_V7),y)
7b44439e4SArnd Bergmannobj-y				 += cpu-reset.o board-v7.o coherency.o coherency_ll.o pmsu.o pmsu_ll.o
8b44439e4SArnd Bergmann
9b44439e4SArnd Bergmannobj-$(CONFIG_PM)		 += pm.o pm-board.o
101ee89e22SGregory CLEMENTobj-$(CONFIG_SMP)		 += platsmp.o headsmp.o platsmp-a9.o headsmp-a9.o
110041464cSThomas Petazzoniendif
120041464cSThomas Petazzoni
130041464cSThomas Petazzoniobj-$(CONFIG_MACH_DOVE)		 += dove.o
14b44439e4SArnd Bergmann
15b44439e4SArnd Bergmannifeq ($(CONFIG_MACH_KIRKWOOD),y)
16b44439e4SArnd Bergmannobj-y				 += kirkwood.o
17b44439e4SArnd Bergmannobj-$(CONFIG_PM)		 += kirkwood-pm.o
18b44439e4SArnd Bergmannendif
19