Makefile 703 B

123456789101112131415161718192021222324252627
  1. #
  2. # SPEAr Platform specific Makefile
  3. #
  4. ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
  5. # Common support
  6. obj-y := restart.o time.o
  7. smp-$(CONFIG_SMP) += headsmp.o platsmp.o
  8. smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
  9. obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y)
  10. obj-$(CONFIG_MACH_SPEAR1310) += spear1310.o
  11. obj-$(CONFIG_MACH_SPEAR1340) += spear1340.o
  12. obj-$(CONFIG_ARCH_SPEAR3XX) += spear3xx.o
  13. obj-$(CONFIG_ARCH_SPEAR3XX) += pl080.o
  14. obj-$(CONFIG_MACH_SPEAR300) += spear300.o
  15. obj-$(CONFIG_MACH_SPEAR310) += spear310.o
  16. obj-$(CONFIG_MACH_SPEAR320) += spear320.o
  17. obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o
  18. obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o
  19. CFLAGS_hotplug.o += -march=armv7-a