The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''. So tweak the release build to match previous assumptions and expectations.
This commit is contained in:
parent
ecf92803ef
commit
2440c807a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65562
@ -373,7 +373,7 @@ release.3:
|
||||
.for kernel in ${KERNELS}
|
||||
rm -f ${RD}/kernels/${kernel}
|
||||
rm -rf ${.CURDIR}/../sys/compile/${kernel}
|
||||
cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=${kernel}
|
||||
cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=${kernel} KERNEL_KO=${kernel} KODIR=""
|
||||
rm -rf ${.CURDIR}/../sys/compile/${kernel}
|
||||
cp ${RD}/kernels/${kernel} ${RD}/trees/bin/kernel.${kernel}
|
||||
.endfor
|
||||
@ -779,8 +779,8 @@ doKERNEL:
|
||||
@cd ${.CURDIR}/../sys/${MACHINE}/conf && config ${KERNEL}
|
||||
@cd ${.CURDIR}/../sys/compile/${KERNEL} && \
|
||||
make kernel-depend && \
|
||||
make ${KERNEL_FLAGS} ${KERNEL} && \
|
||||
make kernel-reinstall DESTDIR=${RD}/kernels && \
|
||||
make ${KERNEL_FLAGS} && \
|
||||
make kernel-install DESTDIR=${RD}/kernels && \
|
||||
[ -r ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ] && \
|
||||
cp ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ${RD}/kernels
|
||||
|
||||
@ -801,7 +801,7 @@ doMFSKERN:
|
||||
@echo "options MD_ROOT_SIZE=`cat mfsroot.size`" >> \
|
||||
${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
|
||||
.endif
|
||||
@cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS
|
||||
@cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS KERNEL_KO=BOOTMFS KODIR=""
|
||||
@rm -rf ${RD}/image.${FSIMAGE}
|
||||
@mkdir ${RD}/image.${FSIMAGE}
|
||||
@cd ${RD}/kernels && \
|
||||
|
Loading…
Reference in New Issue
Block a user