1 obj-y
+= time.o timer.o hrtimer.o itimer.o posix-timers.o posix-cpu-timers.o
2 obj-y
+= timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
3 obj-y
+= timeconv.o posix-clock.o alarmtimer.o
5 obj-
$(CONFIG_GENERIC_CLOCKEVENTS_BUILD
) += clockevents.o
6 obj-
$(CONFIG_GENERIC_CLOCKEVENTS
) += tick-common.o
7 ifeq ($(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
),y
)
8 obj-y
+= tick-broadcast.o
9 obj-
$(CONFIG_TICK_ONESHOT
) += tick-broadcast-hrtimer.o
11 obj-
$(CONFIG_GENERIC_SCHED_CLOCK
) += sched_clock.o
12 obj-
$(CONFIG_TICK_ONESHOT
) += tick-oneshot.o
13 obj-
$(CONFIG_TICK_ONESHOT
) += tick-sched.o
14 obj-
$(CONFIG_TIMER_STATS
) += timer_stats.o
15 obj-
$(CONFIG_DEBUG_FS
) += timekeeping_debug.o
16 obj-
$(CONFIG_TEST_UDELAY
) += udelay_test.o
18 $(obj
)/time.o
: $(obj
)/timeconst.h
20 quiet_cmd_hzfile
= HZFILE
$@
21 cmd_hzfile
= echo
"hz=$(CONFIG_HZ)" > $@
24 $(obj
)/hz.bc
: $(objtree
)/include/config
/hz.h FORCE
25 $(call if_changed
,hzfile
)
28 cmd_bc
= bc
-q
$(filter-out FORCE
,$^
) > $@
30 targets
+= timeconst.h
31 $(obj
)/timeconst.h
: $(obj
)/hz.bc
$(src
)/timeconst.bc FORCE