]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r267276:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 30 Dec 2014 20:44:05 +0000 (20:44 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 30 Dec 2014 20:44:05 +0000 (20:44 +0000)
commit9f9b64dc8fd140e4651679c8965d41a79fd0f7f8
treede327ce70982f099f5759f0e699c3fe4b952c778
parent8c49d51358db6f601b77804c8b532405dc3f6aeb
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@276422 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/mk/bsd.files.mk
share/mk/bsd.test.mk