Makefile 896 B

1234567891011121314151617181920212223242526272829303132333435
  1. #
  2. # Makefile for the linux kernel.
  3. #
  4. # Common support
  5. obj-y := cpu.o clock.o gpio.o time.o usbclock.o usbsetting.o power_gate.o mod_gate.o
  6. obj-m :=
  7. obj-n :=
  8. obj- :=
  9. # Power Management
  10. obj-$(CONFIG_SUSPEND) += pm.o
  11. ifeq ($(CONFIG_MESON_PLATFORM_API),y)
  12. plat-api=$(wildcard $(wildcard $(srctree)/$(src)/boards/*.c))
  13. plat-api:=$(plat-api:$(srctree)/$(src)/%.c=%.o)
  14. obj-y +=$(plat-api)
  15. else
  16. obj-$(CONFIG_MACH_MESON6_REF) += board-meson6-ref.o
  17. obj-$(CONFIG_MACH_MESON6_REF) += board-m6ref-panel.o
  18. obj-$(CONFIG_MACH_MESON6_SKT) += board-meson6-skt.o
  19. obj-$(CONFIG_MACH_MESON6_SKT) += board-m6skt-panel.o
  20. endif
  21. obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
  22. obj-$(CONFIG_SMP) += headsmp.o platsmp.o
  23. obj-$(CONFIG_CARDREADER) += sd_pad.o
  24. #obj-$(CONFIG_CARDREADER) += gpio.o
  25. obj-$(CONFIG_MESON_SUSPEND) += power_suspend.o
  26. obj-$(CONFIG_SUSPEND) += sleep.o
  27. obj-$(CONFIG_MESON_CS_DCDC_REGULATOR) += voltage.o