From owner-svn-src-all@FreeBSD.ORG Mon Aug 6 21:24:44 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F065A106566B; Mon, 6 Aug 2012 21:24:43 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DA5758FC16; Mon, 6 Aug 2012 21:24:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q76LOhRa084376; Mon, 6 Aug 2012 21:24:43 GMT (envelope-from brooks@svn.freebsd.org) Received: (from brooks@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q76LOhuS084374; Mon, 6 Aug 2012 21:24:43 GMT (envelope-from brooks@svn.freebsd.org) Message-Id: <201208062124.q76LOhuS084374@svn.freebsd.org> From: Brooks Davis Date: Mon, 6 Aug 2012 21:24:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r239107 - head/sys/conf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Aug 2012 21:24:44 -0000 Author: brooks Date: Mon Aug 6 21:24:43 2012 New Revision: 239107 URL: http://svn.freebsd.org/changeset/base/239107 Log: 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. Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk ============================================================================== --- head/sys/conf/kern.post.mk Mon Aug 6 21:02:40 2012 (r239106) +++ head/sys/conf/kern.post.mk Mon Aug 6 21:24:43 2012 (r239107) @@ -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)