diff options
author | ngie <ngie@FreeBSD.org> | 2014-12-30 20:44:05 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2014-12-30 20:44:05 +0000 |
commit | 28d09f6c088f73690fb82e3fb1941fe68615a610 (patch) | |
tree | de327ce70982f099f5759f0e699c3fe4b952c778 /contrib/libstdc++ | |
parent | 48f640fb39a51412c289cf60a37e13bf69f64cf3 (diff) | |
download | FreeBSD-src-28d09f6c088f73690fb82e3fb1941fe68615a610.zip FreeBSD-src-28d09f6c088f73690fb82e3fb1941fe68615a610.tar.gz |
MFC r267276:
Ensure files are created during the build when using bsd.subdir.mk.
When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the
build of the files (if any) was not properly triggered during the build
stage. This was because bsd.files.mk did not define the buildfiles target
if it was already defined... and bsd.subdir.mk defined this target on its
own, thus causing a conflict.
Fix this by unconditionally defining buildfiles from bsd.files.mk; this is
safe because nothing else in the tree needs to redefine this and because the
target itself contains no commands: all it does is define dependencies.
Also ensure that bsd.files.mk is always pulled in by bsd.test.mk regardless
of what bsd.prog.mk does.
These fixes allow "make installworld" to run cleanly on a system with
read-only src and obj trees.
This is "make tinderbox" clean.
Reviewed by: imp
Obtained from: jilles
Diffstat (limited to 'contrib/libstdc++')
0 files changed, 0 insertions, 0 deletions