svn commit: r287871 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Wed Sep 16 20:58:44 UTC 2015


Author: bdrewery
Date: Wed Sep 16 20:58:43 2015
New Revision: 287871
URL: https://svnweb.freebsd.org/changeset/base/287871

Log:
  META_MODE: Fix OBJROOT ending in two // when it does not yet exist.
  
  This would lead to the 2nd build (after the first with a missing OBJROOT) to
  always rebuild everything as the 'command' would have changed due to the path
  changing from having // to only /.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/local.meta.sys.mk

Modified: head/share/mk/local.meta.sys.mk
==============================================================================
--- head/share/mk/local.meta.sys.mk	Wed Sep 16 20:55:00 2015	(r287870)
+++ head/share/mk/local.meta.sys.mk	Wed Sep 16 20:58:43 2015	(r287871)
@@ -34,7 +34,7 @@ OBJROOT ?= ${SB_OBJROOT}
 .endif
 OBJROOT ?= ${SRCTOP:H}/obj/
 .if ${OBJROOT:M*/} != ""
-OBJROOT:= ${OBJROOT:tA}/
+OBJROOT:= ${OBJROOT:H:tA}/
 .else
 OBJROOT:= ${OBJROOT:H:tA}/${OBJROOT:T}
 .endif


More information about the svn-src-head mailing list