Makefile 735 B

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