From 58eb8fbb8fb38737f6b1ba5370b2e52c3944c3a8 Mon Sep 17 00:00:00 2001 From: jmg Date: Sat, 30 Dec 2006 20:27:24 +0000 Subject: [PATCH] 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 --- sys/conf/kern.post.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk index 5f04f4e7d780..d1ed462410a9 100644 --- a/sys/conf/kern.post.mk +++ b/sys/conf/kern.post.mk @@ -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)