summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-04-27 09:20:18 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-04-27 09:20:18 +0000
commita937799c07b5bb70c0b81ef2d181310e3544f1f9 (patch)
treeb838d3982d77cd278f2264bb23f9ca556a437b35 /Makefile.inc1
parenteded8d6b397cd902cfe4b0048f898f6c60122885 (diff)
downloadFreeBSD-src-a937799c07b5bb70c0b81ef2d181310e3544f1f9.zip
FreeBSD-src-a937799c07b5bb70c0b81ef2d181310e3544f1f9.tar.gz
Create ${KRNLOBJDIR} before running config(8), since config(8) does
not create required parent directories of the kernel compile directory specified with its -d option.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc11
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index da77995..c41dbe5 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -378,6 +378,7 @@ buildkernel:
@echo "--------------------------------------------------------------"
.for _kernel in ${BUILDKERNELS}
@echo "===> ${_kernel}"
+ mkdir -p ${KRNLOBJDIR}
cd ${KRNLCONFDIR}; \
PATH=${TMPPATH} \
config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} ${_kernel}
OpenPOWER on IntegriCloud