]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r291310:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 13 Apr 2017 19:48:45 +0000 (19:48 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 13 Apr 2017 19:48:45 +0000 (19:48 +0000)
commit78d2c349eeca81b9a21e07c8edc7375f2cc1fc56
tree978aaf51fed70f1f6df7a992b453c20567038312
parentac63b5e19fd65e6e5c6e035e7900c865aff128eb
MFC r291310:

Stop building vers.c in include/ and only build the needed osreldate.h.

Because of how osreldate.h was being built with newvers.sh, which always
spat out a vers.c dependent on SVN or git, the meta mode build was
considering osreldate.h to depend on the current git or SVN index.  This
would lead to entire tree rebuilds when modifying git's index.  There's
no reason to be generating vers.c here so just skip it.

While here, in mk-osreldate.sh rename PARAM_H to proper PARAMFILE (which
newvers.sh already has a default for) and remove unneeded export.

Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@316781 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
include/Makefile
include/mk-osreldate.sh
sys/conf/newvers.sh