aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/Makefile
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-06-22 06:06:40 -0400
committerThomas Gleixner <tglx@linutronix.de>2014-06-23 05:22:35 -0400
commit5cee964597260237dd2cabb3ec22bba0da24b25d (patch)
treef548efb4181a4cffb026adf43178e65330533e87 /kernel/time/Makefile
parent58394271c610e9c65dd0165a1c1f6dec75dc5f3e (diff)
time/timers: Move all time(r) related files into kernel/time
Except for Kconfig.HZ. That needs a separate treatment. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time/Makefile')
-rw-r--r--kernel/time/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/time/Makefile b/kernel/time/Makefile
index 57a413fd0ebf..e59ce8b1b550 100644
--- a/kernel/time/Makefile
+++ b/kernel/time/Makefile
@@ -1,3 +1,4 @@
1obj-y += time.o timer.o hrtimer.o itimer.o posix-timers.o posix-cpu-timers.o
1obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o 2obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
2obj-y += timeconv.o posix-clock.o alarmtimer.o 3obj-y += timeconv.o posix-clock.o alarmtimer.o
3 4
@@ -12,3 +13,19 @@ obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o
12obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o 13obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o
13obj-$(CONFIG_TIMER_STATS) += timer_stats.o 14obj-$(CONFIG_TIMER_STATS) += timer_stats.o
14obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o 15obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
16
17$(obj)/time.o: $(obj)/timeconst.h
18
19quiet_cmd_hzfile = HZFILE $@
20 cmd_hzfile = echo "hz=$(CONFIG_HZ)" > $@
21
22targets += hz.bc
23$(obj)/hz.bc: $(objtree)/include/config/hz.h FORCE
24 $(call if_changed,hzfile)
25
26quiet_cmd_bc = BC $@
27 cmd_bc = bc -q $(filter-out FORCE,$^) > $@
28
29targets += timeconst.h
30$(obj)/timeconst.h: $(obj)/hz.bc $(src)/timeconst.bc FORCE
31 $(call if_changed,bc)