PERFORCE change 214967 for review

Brooks Davis brooks at FreeBSD.org
Thu Jul 26 20:41:32 UTC 2012


http://p4web.freebsd.org/@@214967?ac=10

Change 214967 by brooks at brooks_ecr_current on 2012/07/26 20:41:09

	Make the process of embedding MDROOT images less perilous by
	makeing the target that links kernel and embedding the image
	depend on the image.  This means, if the image doesn't exist you
	find out before you try to boot from it and that if you change
	the image you don't have to touch some random source file to
	cause a rebuild.
	
	Don't hide that we're embedding the image.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/conf/kern.post.mk#2 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/conf/kern.post.mk#2 (text+ko) ====

@@ -90,7 +90,7 @@
 .endif
 .endif
 
-${FULLKERNEL}: ${SYSTEM_DEP} vers.o
+${FULLKERNEL}: ${SYSTEM_DEP} vers.o ${MFS_IMAGE}
 	@rm -f ${.TARGET}
 	@echo linking ${.TARGET}
 	${SYSTEM_LD}
@@ -102,7 +102,7 @@
 .endif
 	${SYSTEM_LD_TAIL}
 .if defined(MFS_IMAGE)
-	@sh ${S}/tools/embed_mfs.sh ${FULLKERNEL} ${MFS_IMAGE}
+	sh ${S}/tools/embed_mfs.sh ${FULLKERNEL} ${MFS_IMAGE}
 .endif
 
 .if !exists(${.OBJDIR}/.depend)


More information about the p4-projects mailing list