blob: 7e875e63ff3b65034637b9ffe1450cc831d49661 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Nicolas Pitrebaa73d92016-11-11 00:10:10 -05002obj-y += time.o timer.o hrtimer.o
Richard Cochran65f8f9a2012-10-31 06:27:25 +00003obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
Nicolas Pitrebaa73d92016-11-11 00:10:10 -05004obj-y += timeconv.o timecounter.o alarmtimer.o
5
6ifeq ($(CONFIG_POSIX_TIMERS),y)
7 obj-y += posix-timers.o posix-cpu-timers.o posix-clock.o itimer.o
8else
9 obj-y += posix-stubs.o
10endif
Thomas Gleixnerd316c572007-02-16 01:28:00 -080011
Thomas Gleixner9f083b72015-03-25 13:05:19 +010012obj-$(CONFIG_GENERIC_CLOCKEVENTS) += clockevents.o tick-common.o
Preeti U Murthy849401b2014-02-09 11:32:22 +053013ifeq ($(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST),y)
14 obj-y += tick-broadcast.o
15 obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
16endif
Stephen Boyd38ff87f2013-06-01 23:39:40 -070017obj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o
Thomas Gleixner9f083b72015-03-25 13:05:19 +010018obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o tick-sched.o
Arnd Bergmannb3550162020-09-24 15:21:43 +020019obj-$(CONFIG_LEGACY_TIMER_TICK) += tick-legacy.o
Vincenzo Frascino44f57d72019-06-21 10:52:30 +010020obj-$(CONFIG_HAVE_GENERIC_VDSO) += vsyscall.o
Colin Cross5c835452013-05-21 22:32:14 -070021obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
John Stultzfd866e22014-08-04 11:30:56 -070022obj-$(CONFIG_TEST_UDELAY) += test_udelay.o
Andrei Vagin769071a2019-11-12 01:26:52 +000023obj-$(CONFIG_TIME_NS) += namespace.o
Paul E. McKenney1253b9b2021-05-27 12:01:23 -070024obj-$(CONFIG_TEST_CLOCKSOURCE_WATCHDOG) += clocksource-wdtest.o
Cassio Neri27601052021-06-22 22:36:16 +010025obj-$(CONFIG_TIME_KUNIT_TEST) += time_test.o