svn commit: r297454 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Thu Mar 31 14:48:19 UTC 2016


Author: bdrewery
Date: Thu Mar 31 14:48:17 2016
New Revision: 297454
URL: https://svnweb.freebsd.org/changeset/base/297454

Log:
  Define OBJTOP earlier if possible for use in targets.
  
  Sponsored by:	EMC / Isilon Storage Division

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

Modified: head/share/mk/local.sys.mk
==============================================================================
--- head/share/mk/local.sys.mk	Thu Mar 31 13:23:43 2016	(r297453)
+++ head/share/mk/local.sys.mk	Thu Mar 31 14:48:17 2016	(r297454)
@@ -23,6 +23,10 @@ MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFIL
 .endif
 .endif
 
+.if !empty(.OBJDIR)
+OBJTOP?= ${.OBJDIR:S,${.CURDIR},,}${SRCTOP}
+.endif
+
 .include "src.sys.mk"
 
 .if ${.MAKE.MODE:Mmeta*} != ""


More information about the svn-src-head mailing list