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.
This commit is contained in:
sheldonh 2000-04-27 09:20:18 +00:00
parent eded8d6b39
commit a937799c07

View File

@ -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}