Makefile 407 B

123456789101112131415161718192021
  1. #
  2. # Makefile for the linux kernel.
  3. #
  4. obj-y := soc.o
  5. # CPU-specific support
  6. obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o
  7. obj-$(CONFIG_SOC_AT91SAM9) += at91sam9.o
  8. obj-$(CONFIG_SOC_SAMA5) += sama5.o
  9. # Power Management
  10. obj-$(CONFIG_PM) += pm.o
  11. obj-$(CONFIG_PM) += pm_suspend.o
  12. ifeq ($(CONFIG_CPU_V7),y)
  13. AFLAGS_pm_suspend.o := -march=armv7-a
  14. endif
  15. ifeq ($(CONFIG_PM_DEBUG),y)
  16. CFLAGS_pm.o += -DDEBUG
  17. endif