Makefile 843 B

123456789101112131415161718192021222324
  1. # SPDX-License-Identifier: GPL-2.0
  2. ccflags-y += -I$(srctree)/drivers/misc/mediatek/include
  3. obj-y += time.o timer.o hrtimer.o
  4. obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
  5. obj-y += timeconv.o timecounter.o alarmtimer.o
  6. ifeq ($(CONFIG_POSIX_TIMERS),y)
  7. obj-y += posix-timers.o posix-cpu-timers.o posix-clock.o itimer.o
  8. else
  9. obj-y += posix-stubs.o
  10. endif
  11. obj-$(CONFIG_GENERIC_CLOCKEVENTS) += clockevents.o tick-common.o
  12. ifeq ($(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST),y)
  13. obj-y += tick-broadcast.o
  14. obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
  15. endif
  16. obj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o
  17. obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o tick-sched.o
  18. obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
  19. obj-$(CONFIG_TEST_UDELAY) += test_udelay.o
  20. obj-$(CONFIG_MTK_AEE_IPANIC) += timer_list_aee.o