From owner-freebsd-stable@FreeBSD.ORG Fri Feb 1 15:37:13 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D830C14C; Fri, 1 Feb 2013 15:37:13 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-ia0-x232.google.com (mail-ia0-x232.google.com [IPv6:2607:f8b0:4001:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id 89D8DDE7; Fri, 1 Feb 2013 15:37:13 +0000 (UTC) Received: by mail-ia0-f178.google.com with SMTP id y26so5611383iab.9 for ; Fri, 01 Feb 2013 07:37:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=lkKuFeRW+i182W9drPozimppAsqVSUYsQd9wUr6tDsQ=; b=Pwqcv6gLCUp4PnXGAwJhjZ5qebmV2Owi39mCyDVf3XH/0ltMpR9D1X+0DOkzGe17pD pYH4pA/vREx6p9Qo4K0gvPTv6xkLowy5Vlzf1QLbhikukGSpBiqDlSxVPU9a9Gf1MyCW GIuUELH3getWx96z7HdpX4iCH1DG8jI8fX4oyyFjx8kGiYgi5gd4IbHBWg4o0VOlKVKR roQn+lqb3jTM17ck5+X6120kI/w7G1WRhKOVwR2r5lzTdkVoNZGA5ayKIUO5sf7WMwg+ 2pux4u+BbQHpx/XkkVuzNA7xLjnEEXxmXiFJCxqysER9sUIcc8zCltpoSiXkdmWOvQFr WU1A== MIME-Version: 1.0 X-Received: by 10.50.187.169 with SMTP id ft9mr1559024igc.25.1359733033147; Fri, 01 Feb 2013 07:37:13 -0800 (PST) Received: by 10.64.29.13 with HTTP; Fri, 1 Feb 2013 07:37:13 -0800 (PST) In-Reply-To: <200912160254.nBG2sYLP082659@svn.freebsd.org> References: <200912160254.nBG2sYLP082659@svn.freebsd.org> Date: Fri, 1 Feb 2013 18:37:13 +0300 Message-ID: Subject: Re: svn commit: r200596 - head From: Sergey Kandaurov To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 15:37:13 -0000 On 16 December 2009 05:54, Warner Losh wrote: > Author: imp > Date: Wed Dec 16 02:54:34 2009 > New Revision: 200596 > URL: http://svn.freebsd.org/changeset/base/200596 > > Log: > Add NO_KERNELOBJ flag, similar to NO_KERNEL{CONFIG,DEPEND,CLEAN}, > which disables doing a make obj. Use it when you know it will work > only. KERNFAST now implies NO_KERNELOBJ, since you don't need to keep > doing obj when doing incremental kernel builds. Hi. Would you mind if I merge this to stable/8? > > Modified: > head/Makefile.inc1 > > Modified: head/Makefile.inc1 > ============================================================================== > --- head/Makefile.inc1 Wed Dec 16 02:52:33 2009 (r200595) > +++ head/Makefile.inc1 Wed Dec 16 02:54:34 2009 (r200596) > @@ -5,10 +5,11 @@ > # -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir > # -DNO_CLEAN do not clean at all > # -DNO_SHARE do not go into share subdir > -# -DKERNFAST define NO_KERNELCONFIG, NO_KERNELCLEAN and NO_KERNELDEPEND > +# -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ} > # -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel > # -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel > # -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel > +# -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel > # -DNO_PORTSUPDATE do not update ports in ${MAKE} update > # -DNO_DOCUPDATE do not update doc in ${MAKE} update > # -DNO_CTF do not run the DTrace CTF conversion tools on built objects > @@ -694,6 +695,7 @@ distrib-dirs distribution: > NO_KERNELCLEAN= t > NO_KERNELCONFIG= t > NO_KERNELDEPEND= t > +NO_KERNELOBJ= t > # Shortcut for KERNCONF=Blah -DKERNFAST is now KERNFAST=Blah > .if !defined(KERNCONF) && ${KERNFAST} != "1" > KERNCONF=${KERNFAST} > @@ -763,11 +765,13 @@ buildkernel: > @echo "--------------------------------------------------------------" > cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} ${CLEANDIR} > .endif > +.if !defined(NO_KERNELOBJ) > @echo > @echo "--------------------------------------------------------------" > @echo ">>> stage 2.2: rebuilding the object tree" > @echo "--------------------------------------------------------------" > cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} obj > +.endif > @echo > @echo "--------------------------------------------------------------" > @echo ">>> stage 2.3: build tools" > _______________________________________________ > svn-src-all@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-all > To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" -- wbr, pluknet