diff options
author | Ian Lepore <ian@FreeBSD.org> | 2016-12-22 21:11:42 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2016-12-22 21:11:42 +0000 |
commit | 0a201eeac2957ec4f3fc26fa68993722ea53a4e5 (patch) | |
tree | 6412cfe45531e5eacc629588fb3e247677eb6e85 /sys/conf/kern.post.mk | |
parent | 3620e9605c643c36a2a077b23430d187c76c5d43 (diff) | |
download | src-0a201eeac2957ec4f3fc26fa68993722ea53a4e5.tar.gz src-0a201eeac2957ec4f3fc26fa68993722ea53a4e5.zip |
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.
Notes
Notes:
svn path=/head/; revision=310430
Diffstat (limited to 'sys/conf/kern.post.mk')
-rw-r--r-- | sys/conf/kern.post.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index a16cb0318759..095b275455ca 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -63,7 +63,7 @@ OSRELDATE!= awk '/^\#define[[:space:]]*__FreeBSD_version/ { print $$3 }' \ ${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 \ |