time: Remove development rules from Kbuild/Makefile
authorThomas Gleixner <tglx@linutronix.de>
Wed, 1 Jul 2015 07:57:35 +0000 (09:57 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 1 Jul 2015 07:57:35 +0000 (09:57 +0200)
time.o gets rebuilt unconditionally due to a leftover Makefile rule
which was placed there for development purposes.

Remove it along with the commented out always rule in the toplevel
Kbuild file.

Fixes: 0a227985d4a9 'time: Move timeconst.h into include/generated'
Reported-by; Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Nicholas Mc Guire <der.herr@hofr.at>
Kbuild
kernel/time/Makefile

diff --git a/Kbuild b/Kbuild
index df99a5f53beb880482871e99453bf04ef2f0fb06..f55cefd9bf29a2fa2746f7039f2481dfdceadfc7 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -52,7 +52,6 @@ $(obj)/$(bounds-file): kernel/bounds.s FORCE
 
 timeconst-file := include/generated/timeconst.h
 
-#always  += $(timeconst-file)
 targets += $(timeconst-file)
 
 quiet_cmd_gentimeconst = GEN     $@
index ffc4cc3dcd47b4e277df56735e11d51abdd87f6d..49eca0beed32ebc2972cdd6ccdb1b2b65bbd769f 100644 (file)
@@ -12,5 +12,3 @@ obj-$(CONFIG_TICK_ONESHOT)                    += tick-oneshot.o tick-sched.o
 obj-$(CONFIG_TIMER_STATS)                      += timer_stats.o
 obj-$(CONFIG_DEBUG_FS)                         += timekeeping_debug.o
 obj-$(CONFIG_TEST_UDELAY)                      += test_udelay.o
-
-$(obj)/time.o: $(objtree)/include/config/