Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: syssrc
Module Name: syssrc
Committed By: atatat
Date: Tue Nov 19 04:29:19 UTC 2002
Modified Files:
syssrc/sys/conf: Makefile.kern.inc
syssrc/usr.sbin/config: mkheaders.c
Log Message:
Alter config so that it emits a config_time.src file (the source file
for config_time.h) that contains, for example:
/* Sun Nov 17 05:37:51 2002 GMT */
#define CONFIG_TIME 1037511471
#define CONFIG_YEAR 2002
#define CONFIG_MONTH 11
#define CONFIG_DATE 17
#define CONFIG_HOUR 5
#define CONFIG_MINS 37
#define CONFIG_SECS 51
These values represent the current time as of when config was last
run, so that functions (eg, inittodr()) can use these values instead
of being updated once every year or so with the "current" time.
The associated modification to Makefile.kern.inc makes config_time.h
depend on this depend on this and the kernel Makefile, so that
granularity of kernel builds is not reduced.
To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 syssrc/sys/conf/Makefile.kern.inc
cvs rdiff -r1.32 -r1.33 syssrc/usr.sbin/config/mkheaders.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index