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 \
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to