PERFORCE change 71798 for review
John-Mark Gurney
jmg at FreeBSD.org
Fri Feb 25 07:24:20 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=71798
Change 71798 by jmg at jmg_carbon on 2005/02/25 07:24:13
first bit of letting you define a makeoptions MFS_IMAGE that will
auto populate your kernel with said image.. it doesn't warn/fail
if the mfs image is too large, but that is easy enough to fix..
Affected files ...
.. //depot/projects/arm/src/sys/conf/kern.post.mk#2 edit
Differences ...
==== //depot/projects/arm/src/sys/conf/kern.post.mk#2 (text+ko) ====
@@ -66,6 +66,9 @@
FULLKERNEL= ${KERNEL_KO}.debug
${KERNEL_KO}: ${FULLKERNEL}
${OBJCOPY} --strip-debug ${FULLKERNEL} ${KERNEL_KO}
+.if defined(MFS_IMAGE)
+ dd if="${MFS_IMAGE}" ibs=8192 of="${KERNEL_KO}" obs=`strings -at d "${KERNEL_KO}" | grep "MFS Filesystem goes here" | awk '{print $$1}'` oseek=1 conv=notrunc
+.endif
install.debug reinstall.debug: gdbinit
cd ${.CURDIR}; ${MAKE} -DINSTALL_DEBUG ${.TARGET:R}
More information about the p4-projects
mailing list