now that MFS_IMAGE is in the FULLKERNEL section, use FULLKERNEL instead of
KERNEL_KO, this fixes MFS_IMAGE on a debugging kernel... Submitted by: Neelkanth Natu
This commit is contained in:
parent
ab5fbc66c9
commit
58eb8fbb8f
@ -91,13 +91,13 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o
|
||||
.endif
|
||||
${SYSTEM_LD_TAIL}
|
||||
.if defined(MFS_IMAGE)
|
||||
@dd if="${MFS_IMAGE}" ibs=8192 of="${KERNEL_KO}" \
|
||||
obs=`strings -at d "${KERNEL_KO}" | \
|
||||
@dd if="${MFS_IMAGE}" ibs=8192 of="${FULLKERNEL}" \
|
||||
obs=`strings -at d "${FULLKERNEL}" | \
|
||||
grep "MFS Filesystem goes here" | awk '{print $$1}'` \
|
||||
oseek=1 conv=notrunc 2>/dev/null && \
|
||||
strings ${KERNEL_KO} | \
|
||||
strings ${FULLKERNEL} | \
|
||||
grep 'MFS Filesystem had better STOP here' > /dev/null || \
|
||||
(rm ${KERNEL_KO} && echo 'MFS image too large' && false)
|
||||
(rm ${FULLKERNEL} && echo 'MFS image too large' && false)
|
||||
.endif
|
||||
|
||||
.if !exists(${.OBJDIR}/.depend)
|
||||
|
Loading…
Reference in New Issue
Block a user