From owner-p4-projects@FreeBSD.ORG Thu Jul 26 20:41:32 2012 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 89CA51065675; Thu, 26 Jul 2012 20:41:32 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C6271065673 for ; Thu, 26 Jul 2012 20:41:32 +0000 (UTC) (envelope-from brooks@freebsd.org) Received: from skunkworks.freebsd.org (skunkworks.freebsd.org [IPv6:2001:4f8:fff6::2d]) by mx1.freebsd.org (Postfix) with ESMTP id 35C0F8FC0C for ; Thu, 26 Jul 2012 20:41:32 +0000 (UTC) Received: from skunkworks.freebsd.org (localhost [127.0.0.1]) by skunkworks.freebsd.org (8.14.4/8.14.4) with ESMTP id q6QKfW9T037177 for ; Thu, 26 Jul 2012 20:41:32 GMT (envelope-from brooks@freebsd.org) Received: (from perforce@localhost) by skunkworks.freebsd.org (8.14.4/8.14.4/Submit) id q6QKfVF6037174 for perforce@freebsd.org; Thu, 26 Jul 2012 20:41:31 GMT (envelope-from brooks@freebsd.org) Date: Thu, 26 Jul 2012 20:41:31 GMT Message-Id: <201207262041.q6QKfVF6037174@skunkworks.freebsd.org> X-Authentication-Warning: skunkworks.freebsd.org: perforce set sender to brooks@freebsd.org using -f From: Brooks Davis To: Perforce Change Reviews Precedence: bulk Cc: Subject: PERFORCE change 214967 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2012 20:41:32 -0000 http://p4web.freebsd.org/@@214967?ac=10 Change 214967 by brooks@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)