blob: c8f00168afe843f8041ddddf94ccb23c77a2a690 [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
Vincenzo Frascino44f57d72019-06-21 10:52:30 +010019obj-$(CONFIG_HAVE_GENERIC_VDSO) += vsyscall.o
Colin Cross5c835452013-05-21 22:32:14 -070020obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
John Stultzfd866e22014-08-04 11:30:56 -070021obj-$(CONFIG_TEST_UDELAY) += test_udelay.o
Andrei Vagin769071a2019-11-12 01:26:52 +000022obj-$(CONFIG_TIME_NS) += namespace.o