1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

MFP4 change 214967:

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.
This commit is contained in:
Brooks Davis 2012-08-06 21:24:43 +00:00
parent 3283f9d4f5
commit 12a14de08e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239107

View File

@ -121,7 +121,7 @@ gdbinit:
.endif
.endif
${FULLKERNEL}: ${SYSTEM_DEP} vers.o
${FULLKERNEL}: ${SYSTEM_DEP} vers.o ${MFS_IMAGE}
@rm -f ${.TARGET}
@echo linking ${.TARGET}
${SYSTEM_LD}
@ -133,7 +133,7 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o
.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)