]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r257350:
authorgjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Apr 2014 03:39:57 +0000 (03:39 +0000)
committergjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Apr 2014 03:39:57 +0000 (03:39 +0000)
commitf4860bacf9f7fdeebae41c5f11b6683c3500234e
treec08f5231b1a3b8e4a39bdb2b665baf38911e1313
parent5c77a13d56681487dc44f6c10199f545cbd5c0e5
MFC r257350:
  In r257079, SRCDIR is pointed to ${.CURDIR} when not set.  However,
  Makefile.inc1 is being called in sub-make's where make(1) would,
  by default, implicitly chdir(2) to ${.OBJDIR} before executing any
  targets.  This would make some targets, like delete-old, when trying
  to derive various variables introduced by change r256921 using
  ``make -f Makefile.inc1'' that also rely on SRCDIR to fail.

  This changeset adds an explicit cd ${.CURDIR} before these unwrapped
  make calls, making them in line with the other ones that are already
  being wrapped with the explicit chdir's.

Submitted by: Jeremy Chadwick
Helped by: Ben Morrow
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/9@264290 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Makefile.inc1