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