From owner-p4-projects@FreeBSD.ORG Thu Jun 28 07:32:38 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1232E16A468; Thu, 28 Jun 2007 07:32:38 +0000 (UTC) X-Original-To: perforce@freebsd.org 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 C21EA16A41F for ; Thu, 28 Jun 2007 07:32:37 +0000 (UTC) (envelope-from gabor@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B322613C448 for ; Thu, 28 Jun 2007 07:32:37 +0000 (UTC) (envelope-from gabor@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5S7Wb3T011158 for ; Thu, 28 Jun 2007 07:32:37 GMT (envelope-from gabor@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5S7Wb6I011155 for perforce@freebsd.org; Thu, 28 Jun 2007 07:32:37 GMT (envelope-from gabor@freebsd.org) Date: Thu, 28 Jun 2007 07:32:37 GMT Message-Id: <200706280732.l5S7Wb6I011155@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gabor@freebsd.org using -f From: Gabor Kovesdan To: Perforce Change Reviews Cc: Subject: PERFORCE change 122458 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 07:32:38 -0000 http://perforce.freebsd.org/chv.cgi?CH=122458 Change 122458 by gabor@gabor_server on 2007/06/28 07:31:53 - Add some comments about the behaviour Affected files ... .. //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#15 edit Differences ... ==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#15 (text+ko) ==== @@ -29,6 +29,28 @@ DESTDIR_ENV+= ${_var}="${${_var}}" .endfor +# +# The target order is always: pre-chroot do-chroot post-chroot +# +# pre-chroot +# - You can use this for special preparation work, that +# want to do before chrooting into the destination +# environment and doing the real build. At default +# this target is empty. +# +# do-chroot +# - This is the main target for doing the chrooted +# operations. It mounts the ports tree and devfs into +# the destination environment and starts make(1) +# by calling chroot(1). +# +# post-chroot +# - This target runs chrooted just after chroot(1) was +# called. You can use this for special preparation +# work for the chrooted build if necessary. At +# default, this target is empty. +# + .for _target in ${.TARGETS} ${_target}: pre-chroot do-chroot @${TRUE}