From owner-freebsd-stable@freebsd.org Mon Dec 12 23:14:52 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0070EC74F7D for ; Mon, 12 Dec 2016 23:14:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC2011352 for ; Mon, 12 Dec 2016 23:14:51 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ua0-x235.google.com with SMTP id 51so96494482uai.1 for ; Mon, 12 Dec 2016 15:14:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=4Ajxpz/VqA+vTGX09intRet1zpcykUyxS9e5FywNMoY=; b=AaypeS3rXKbor8YadVMoAWj1rHQwEzE9/hAX0cRHqKSzlFEDti3j/TF1u2XnWyFGUp +aFvV8nT4MWYJ1wilx4o4KvlvJ/1FvNfLav5r4DNvy4oB1DdHTly/3TRerIfs6vBHjCA VffS6JCPDpb9Dv+Czmj11mELKuTHYcR1/QwAZ+lpZpyI/nr0A2S8ig4atTsRw5jMDf2R sbH6q1dZG/X9K9Uq1ADkT9zS9e/kETnOVcnmtxW7iOD/nLXZzEbMf1lkcfj/D38rtYmo H2fBXXsy7njDbslXwY4sBvKT5Q0dUcLV2ILHcpfPBfvyzgHnXC/ViABVsaci0/3h1O0H Nl1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4Ajxpz/VqA+vTGX09intRet1zpcykUyxS9e5FywNMoY=; b=VdQsr7DN8JcrK5u+fwQzaG5t3nPy/NPFicDBw6HxLGw6BoQaZivlGbXk/7MYNuPC4J 7TjA+9/2yqq80f8wt1iAT7IQyPbVjX5ZmMAEda5N3qJ2GQNAZZMu05yQgDczQRNm4iTG AkuWrM0ZoWk4tM4eiPhnl867lpjBuITeTWqh86ogQKe+hopHdGuXbdMKuvo6xMUFjZXn wqySn0I+Y/KOm5mAvb/z1CGU3BJwDJIqPYIQtw3VY288eKLCFWopP3TpUV1FtmXU+GiO gOedjyx9dsxfbinexM+cdlGaLaWeFerkM9AsZLOSoY8Kqcv1JjujXTtPI27+VCBTs099 VebA== X-Gm-Message-State: AKaTC02krDmXjdnhtJ1KBQuMQv+I0i0xnvSsUigbs43othoCeJT6osnembhT8cPeA/Di9YwAN1VHuTeGlF05CA== X-Received: by 10.176.82.200 with SMTP id w8mr75850695uaw.62.1481584490816; Mon, 12 Dec 2016 15:14:50 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.103.106.66 with HTTP; Mon, 12 Dec 2016 15:14:50 -0800 (PST) In-Reply-To: <15672f53-1a34-3120-0aa8-03aa6401be54@zyxst.net> References: <201612120138.uBC1cA59025994@sdf.org> <86r35dd46x.wl-herbert@mailbox.org> <9B.7B.16304.3F86E485@dnvrco-omsmta02> <15672f53-1a34-3120-0aa8-03aa6401be54@zyxst.net> From: Kevin Oberman Date: Mon, 12 Dec 2016 15:14:50 -0800 X-Google-Sender-Auth: -uQwx6Oq9lFE3V7UpGe-BKbmYgU Message-ID: Subject: Re: make buildkernel does not respect KERNCONF or JOBS in /etc/make.conf To: tech-lists Cc: FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 23:14:52 -0000 On Mon, Dec 12, 2016 at 1:16 AM, tech-lists wrote: > On 12/12/2016 09:07, Thomas Mueller wrote: > >> My question is, do you build modules redundantly, or just once? >> I don't want to build the same modules more than once. >> > > For me - redundantly, I guess. It's not like it takes a lot of time or > space on the compiling machine, and I ensure that everything that needs to > be built, is built. > > PUMPKIN = heavily modified config with all the stuff I don't need stripped > out, and a couple of non-default lines. > > GENERIC = unmodified kernel that should work if by some chance PUMPKIN > doesn't. > -- > J. Clearly the documentation is a bit behind the times. For some time people have used KERNCONF to build multiple kernels, but that was a lucky things that was not officially supported. It just happened to work. Then, with 11.0, it no longer did in many cases sue to changes in the kernel build system. When people complained, there did not seem to be a way to fix this without blocking future goals in speeding up and enhancinghte standard kernel build. The result was BUILDKERNELS. It was specifically designed to allow the building of multiple kernels and the appropriate modules. This would always take longer and use more disk space, but it would work reliably. Now, bit building a single, local kernel, KERNCONF is the best way, though I suspect that it make only a small difference until new capabilities are added later in the life of 11. So, while it seems the man pages need to catch up, building multiple kernels should be done with KERNCONF in either make.conf or src.conf and multiple kernels with BUILDKERNELS. This is from my recollection of the discussion thread. I'll admit to being too lazy to go find and read all of it. I suspect it was on current@, but I'm not even sure of that. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683