Makefile 630 B

12345678910111213141516171819202122
  1. # SPDX-License-Identifier: GPL-2.0
  2. ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-orion/include
  3. AFLAGS_coherency_ll.o := -Wa,-march=armv7-a
  4. CFLAGS_pmsu.o := -march=armv7-a
  5. obj-$(CONFIG_MACH_MVEBU_ANY) += system-controller.o mvebu-soc-id.o
  6. ifeq ($(CONFIG_MACH_MVEBU_V7),y)
  7. obj-y += cpu-reset.o board-v7.o coherency.o coherency_ll.o pmsu.o pmsu_ll.o
  8. obj-$(CONFIG_PM) += pm.o pm-board.o
  9. obj-$(CONFIG_SMP) += platsmp.o headsmp.o platsmp-a9.o headsmp-a9.o
  10. endif
  11. obj-$(CONFIG_MACH_DOVE) += dove.o
  12. ifeq ($(CONFIG_MACH_KIRKWOOD),y)
  13. obj-y += kirkwood.o
  14. obj-$(CONFIG_PM) += kirkwood-pm.o
  15. endif