Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 20:58:44 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287871 - head/share/mk
Message-ID:  <201509162058.t8GKwiJp090861@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509162058.t8GKwiJp090861>