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:
Sheldon Hearn 2000-04-27 09:20:18 +00:00
parent c1ebbb06ed
commit 6892430807

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}