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.
This commit is contained in:
parent
3620e9605c
commit
0a201eeac2
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user