1 # SPDX-License-Identifier: GPL-2.0
2 obj-y
+= time.o timer.o hrtimer.o sleep_timeout.o
3 obj-y
+= timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
4 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
12 obj-
$(CONFIG_GENERIC_CLOCKEVENTS
) += clockevents.o tick-common.o
13 ifeq ($(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
),y
)
14 obj-y
+= tick-broadcast.o
15 obj-
$(CONFIG_TICK_ONESHOT
) += tick-broadcast-hrtimer.o
17 obj-
$(CONFIG_GENERIC_SCHED_CLOCK
) += sched_clock.o
18 obj-
$(CONFIG_TICK_ONESHOT
) += tick-oneshot.o tick-sched.o
19 obj-
$(CONFIG_LEGACY_TIMER_TICK
) += tick-legacy.o
20 ifeq ($(CONFIG_SMP
),y
)
21 obj-
$(CONFIG_NO_HZ_COMMON
) += timer_migration.o
23 obj-
$(CONFIG_HAVE_GENERIC_VDSO
) += vsyscall.o
24 obj-
$(CONFIG_DEBUG_FS
) += timekeeping_debug.o
25 obj-
$(CONFIG_TEST_UDELAY
) += test_udelay.o
26 obj-
$(CONFIG_TIME_NS
) += namespace.o
27 obj-
$(CONFIG_TEST_CLOCKSOURCE_WATCHDOG
) += clocksource-wdtest.o
28 obj-
$(CONFIG_TIME_KUNIT_TEST
) += time_test.o