svn commit: r314498 - stable/11/sys/conf

Ian Lepore ian at FreeBSD.org
Wed Mar 1 18:03:36 UTC 2017


Author: ian
Date: Wed Mar  1 18:03:34 2017
New Revision: 314498
URL: https://svnweb.freebsd.org/changeset/base/314498

Log:
  MFC r310430:
  
    Use ${.OBJDIR} to refer to the kernel build object dir, instead of trying
    to recreate it from ${MAKEOBJDIRPREFIX} and ${SRC_BASE} and ${KERNCONF},
    the latter being especially problematic when KERNCONF is set to the names
    of multiple kernel configs.

Modified:
  stable/11/sys/conf/kern.post.mk
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/conf/kern.post.mk
==============================================================================
--- stable/11/sys/conf/kern.post.mk	Wed Mar  1 18:03:32 2017	(r314497)
+++ stable/11/sys/conf/kern.post.mk	Wed Mar  1 18:03:34 2017	(r314498)
@@ -63,7 +63,7 @@ OSRELDATE!=	awk '/^\#define[[:space:]]*_
 		    ${MAKEOBJDIRPREFIX}${SRC_BASE}/include/osreldate.h
 .endif
 # Keep the related ports builds in the obj directory so that they are only rebuilt once per kernel build
-WRKDIRPREFIX?=	${MAKEOBJDIRPREFIX}${SRC_BASE}/sys/${KERNCONF}
+WRKDIRPREFIX?=	${.OBJDIR}
 PORTSMODULESENV=\
 	env \
 	-u CC \


More information about the svn-src-all mailing list