#
316781 |
|
13-Apr-2017 |
ian |
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
|
#
291815 |
|
04-Dec-2015 |
bdrewery |
MFC r284289,r288267:
r284289: Misc fixes from projects/bmake r288267: Remove redundant .NOPATH.
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
255957 |
|
30-Sep-2013 |
ian |
Set proper permissions on the generated osreldate.h file; a file readable only by root can cause install problems, especially over nfs.
Submitted by: jilles@ Approved by: re (gjb)
|
#
255929 |
|
28-Sep-2013 |
nwhitehorn |
Prevent the set -e from mk-osreldate.sh from propagating into newvers.sh. This would cause detection of old versions of SVN to cause fatal errors instead of being caught and handled, which would make the build fail if the tree had been checked out with an older version of SVN (e.g. 1.6).
Discussed with: gjb Approved by: re (marius)
|
#
255775 |
|
21-Sep-2013 |
ian |
Create a separate script to generate osreldate.h rather than sourcing newvers.sh into a temporary subshell with inline make rules.
Using a separate script fixes a variety of problems, including establishing the correct dependencies in the makefiles. It also eliminates a problem with the way newvers.sh uses `realpath $0`, because $0 expands differently within a script sourced into a rule in a makefile depending on the version of make and of /bin/sh being used. The latter can cause build breakage in a cross-build environment, and can also make it difficult to compile 10.0 on older pre-10.0 systems.
PR: 160646 174422 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> Approved by: re (gjb) MFC after: 2 weeks
|