From owner-freebsd-questions@FreeBSD.ORG Thu Nov 3 22:12:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABF1C106566C for ; Thu, 3 Nov 2011 22:12:05 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo103.cox.net (eastrmfepo103.cox.net [68.230.241.215]) by mx1.freebsd.org (Postfix) with ESMTP id 43C248FC15 for ; Thu, 3 Nov 2011 22:12:05 +0000 (UTC) Received: from eastrmimpo210.cox.net ([68.230.241.225]) by eastrmfepo103.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111103221202.GKDT3804.eastrmfepo103.cox.net@eastrmimpo210.cox.net>; Thu, 3 Nov 2011 18:12:02 -0400 Received: from serene.no-ip.org ([98.164.86.236]) by eastrmimpo210.cox.net with bizsmtp id smC11h00M55wwzE02mC2QM; Thu, 03 Nov 2011 18:12:02 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020202.4EB311B2.009D,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=eb/7hJztr6wcfnZUCQTvufzf64xQ9JX7XTLFvRhqo6c= c=1 sm=1 a=gH2l33NO9zgA:10 a=Y_uy9KMkTFgA:10 a=G8Uczd0VNMoA:10 a=Fdkxr_5KmFUA:10 a=uAbGmPAyUfLL1M3oYAsfuA==:17 a=lM4-zUH5AAAA:8 a=kviXuzpPAAAA:8 a=5t_4gl0mlZoqBLqnEzIA:9 a=pvA44qeTxYYA:10 a=4vB-4DCPJfMA:10 a=uAbGmPAyUfLL1M3oYAsfuA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id pA3MC1KB020395; Thu, 3 Nov 2011 17:12:01 -0500 (CDT) (envelope-from conrads@cox.net) Date: Thu, 3 Nov 2011 17:11:56 -0500 From: "Conrad J. Sabatier" To: =?koi8-r?Q?=E1=CE=D4=CF=CE_=EB=CC=C5=D3=D3?= Message-ID: <20111103171156.71bde363@cox.net> In-Reply-To: <59571320346106@web57.yandex.ru> References: <59571320346106@web57.yandex.ru> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Is it safe to interrupt (Ctrl + C) while building a port or kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2011 22:12:05 -0000 On Thu, 03 Nov 2011 22:48:26 +0400 áÎÔĎÎ ëĚĹÓÓ wrote: > 03.11.2011, 21:20, "Robert Bonomi" : > > >> ššIf it's so, do I need to run "make clean" before I start "make" > >> one more time? > > šAuthoritative answer: š"It depends". > > > > šOn what you 'did wrong", and what it takes to fix it. > > > > še.g., šif you're building a kernel the 'classial' way, that is > > 'configure, make depend, cd , make', šand realize you left > > something out of the config file, after you edit the config file, > > you have to rerun _all_ those steps. > > Does it matter, if I always use "make buildkernel make installkernel" > way to rebuild kernels? > > > šmake buildkernel > > .. > oh! something wrong! > + > .. > mistake fixed! > > > šmake buildkernel > > šmake installkernel > > - is right? That's fine, yes. But I wouldn't do an unconditional installkernel after buildkernel (suppose buildkernel failed in some way)? Either include both targets in the same make command: make buildkernel installkernel Or make the second conditional on the outcome of the first: make buildkernel && make installkernel You might also save yourself some time by using "-DNO_CLEAN" after changing your kernel config. -- Conrad J. Sabatier conrads@cox.net