]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/Makefile
avoid overflows in kernel/time.c
[linux-2.6-omap-h63xx.git] / kernel / Makefile
index 60cd39c84e6d47bce185e616a10bf790c7becfbb..6c584c55a6e9e8f164fa949b8a5c5ed8054ed9f8 100644 (file)
@@ -91,3 +91,11 @@ quiet_cmd_ikconfiggz = IKCFG   $@
 targets += config_data.h
 $(obj)/config_data.h: $(obj)/config_data.gz FORCE
        $(call if_changed,ikconfiggz)
+
+$(obj)/time.o: $(obj)/timeconst.h
+
+quiet_cmd_timeconst  = TIMEC   $@
+      cmd_timeconst  = $(PERL) $< $(CONFIG_HZ) > $@
+targets += timeconst.h
+$(obj)/timeconst.h: $(src)/timeconst.pl FORCE
+       $(call if_changed,timeconst)