diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2014-06-22 06:06:40 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2014-06-23 05:22:35 -0400 |
| commit | 5cee964597260237dd2cabb3ec22bba0da24b25d (patch) | |
| tree | f548efb4181a4cffb026adf43178e65330533e87 /kernel/time/Makefile | |
| parent | 58394271c610e9c65dd0165a1c1f6dec75dc5f3e (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/Makefile | 17 |
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 @@ | |||
| 1 | obj-y += time.o timer.o hrtimer.o itimer.o posix-timers.o posix-cpu-timers.o | ||
| 1 | obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o | 2 | obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o |
| 2 | obj-y += timeconv.o posix-clock.o alarmtimer.o | 3 | obj-y += timeconv.o posix-clock.o alarmtimer.o |
| 3 | 4 | ||
| @@ -12,3 +13,19 @@ obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o | |||
| 12 | obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o | 13 | obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o |
| 13 | obj-$(CONFIG_TIMER_STATS) += timer_stats.o | 14 | obj-$(CONFIG_TIMER_STATS) += timer_stats.o |
| 14 | obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o | 15 | obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o |
| 16 | |||
| 17 | $(obj)/time.o: $(obj)/timeconst.h | ||
| 18 | |||
| 19 | quiet_cmd_hzfile = HZFILE $@ | ||
| 20 | cmd_hzfile = echo "hz=$(CONFIG_HZ)" > $@ | ||
| 21 | |||
| 22 | targets += hz.bc | ||
| 23 | $(obj)/hz.bc: $(objtree)/include/config/hz.h FORCE | ||
| 24 | $(call if_changed,hzfile) | ||
| 25 | |||
| 26 | quiet_cmd_bc = BC $@ | ||
| 27 | cmd_bc = bc -q $(filter-out FORCE,$^) > $@ | ||
| 28 | |||
| 29 | targets += timeconst.h | ||
| 30 | $(obj)/timeconst.h: $(obj)/hz.bc $(src)/timeconst.bc FORCE | ||
| 31 | $(call if_changed,bc) | ||
