15cee9645SThomas Gleixnerobj-y += time.o timer.o hrtimer.o itimer.o posix-timers.o posix-cpu-timers.o 265f8f9a1SRichard Cochranobj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o 3ff3ead96SJohn Stultzobj-y += timeconv.o posix-clock.o alarmtimer.o 4d316c57fSThomas Gleixner 5de68d9b1SThomas Gleixnerobj-$(CONFIG_GENERIC_CLOCKEVENTS_BUILD) += clockevents.o 6906568c9SThomas Gleixnerobj-$(CONFIG_GENERIC_CLOCKEVENTS) += tick-common.o 7849401b6SPreeti U Murthyifeq ($(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST),y) 8849401b6SPreeti U Murthy obj-y += tick-broadcast.o 9849401b6SPreeti U Murthy obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o 10849401b6SPreeti U Murthyendif 1138ff87f7SStephen Boydobj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o 1279bf2bb3SThomas Gleixnerobj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o 1379bf2bb3SThomas Gleixnerobj-$(CONFIG_TICK_ONESHOT) += tick-sched.o 1482f67cd9SIngo Molnarobj-$(CONFIG_TIMER_STATS) += timer_stats.o 155c83545fSColin Crossobj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o 16fd866e2bSJohn Stultzobj-$(CONFIG_TEST_UDELAY) += test_udelay.o 175cee9645SThomas Gleixner 185cee9645SThomas Gleixner$(obj)/time.o: $(obj)/timeconst.h 195cee9645SThomas Gleixner 205cee9645SThomas Gleixnerquiet_cmd_hzfile = HZFILE $@ 215cee9645SThomas Gleixner cmd_hzfile = echo "hz=$(CONFIG_HZ)" > $@ 225cee9645SThomas Gleixner 235cee9645SThomas Gleixnertargets += hz.bc 245cee9645SThomas Gleixner$(obj)/hz.bc: $(objtree)/include/config/hz.h FORCE 255cee9645SThomas Gleixner $(call if_changed,hzfile) 265cee9645SThomas Gleixner 275cee9645SThomas Gleixnerquiet_cmd_bc = BC $@ 285cee9645SThomas Gleixner cmd_bc = bc -q $(filter-out FORCE,$^) > $@ 295cee9645SThomas Gleixner 305cee9645SThomas Gleixnertargets += timeconst.h 315cee9645SThomas Gleixner$(obj)/timeconst.h: $(obj)/hz.bc $(src)/timeconst.bc FORCE 325cee9645SThomas Gleixner $(call if_changed,bc) 33e704f93aSDavid Riley 34