From owner-freebsd-arm@freebsd.org Tue Sep 29 02:29:02 2015 Return-Path: Delivered-To: freebsd-arm@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 4222BA06151 for ; Tue, 29 Sep 2015 02:29:02 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) (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 0F5701C6F for ; Tue, 29 Sep 2015 02:29:01 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by qkas79 with SMTP id s79so11473101qka.0 for ; Mon, 28 Sep 2015 19:28:54 -0700 (PDT) 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:date :message-id:subject:from:to:cc:content-type; bh=3mxLftV8O0a5vw5JQM+tUmXEUDbMEIHub0Bg5DQ/AdI=; b=aFkueGYjgBzpQ3aLm/Ybbrkt4tqzsqzFcqFPga+QozF+DP2Pz7mbVo3qpS1ZBSo6KP yHOwrr+VRXYdEDiXXDsHaonKmHXBKr2INwrH1ZhU4VkOviCRirxduU62K7WRffYr+mmJ N8kDrbU+c15BUmkuvpAXKGmCvamyfx/iWn618ghKgzHSNSUhrw+sU9WaSUxkGNB98Gnb ZyL6r+YWJaJ23QZeq7dLUkDPI2osOR+CmN7dw/n1FvuAJHNTKiLJQchQ9BVjgs8dsmnr 3PxUrz7xQUMqOzHTwNoMHIyofgFg/QAxX4RmuxbJnssqOj5/+jVLiRVqJntg8kdVvuoH imwA== X-Gm-Message-State: ALoCoQn2P4DAAezXk0pTMG1YCtXRj6WLDOJht1van1y88vMMb81RmaKf4dbkj1+5J7bNhuXw04h8 MIME-Version: 1.0 X-Received: by 10.55.24.75 with SMTP id j72mr15987655qkh.93.1443493734741; Mon, 28 Sep 2015 19:28:54 -0700 (PDT) Sender: wlosh@bsdimp.com Received: by 10.140.80.167 with HTTP; Mon, 28 Sep 2015 19:28:54 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <56099A79.8020403@ceetonetechnology.com> References: <1443104974.1224.269.camel@freebsd.org> <20150928162916.GU99677@funkthat.com> <56099A79.8020403@ceetonetechnology.com> Date: Mon, 28 Sep 2015 20:28:54 -0600 X-Google-Sender-Auth: GfrHn7lqlNaqMlZNAlFE1ZXKzKI Message-ID: Subject: Re: Building Less? From: Warner Losh To: George Rosamond Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2015 02:29:02 -0000 Crochet isn't part of the base system. If you'd like something included with crochet, you'll need to generate a patch, or talk offline with Tim. But it's unlikely that there will ever be a fully populated src.conf file in the base system. It would be too much of a hassle. We've tried that in the past, and is a big reason why we have /etc/defaults/rc.conf instead of having a fully populated /etc/rc.conf file. Why? Well, we could generate it on each build. mergemaster could install it. But it would be a guaranteed merge conflict as generated files tend to be ugly to merge. If we were to keep it up to date by hand, which might help a little on the merging problem, it would go stale quickly. We learned that with the src.conf.5 man page. If we generated something and installed it in src.conf.sample, that might be OK. However, it wouldn't be right for all platforms. The defaults are different depending on what target you are building for. That might be manageable though, since there are only a few of them. Warner On Mon, Sep 28, 2015 at 1:52 PM, George Rosamond < george@ceetonetechnology.com> wrote: > John-Mark Gurney: > > Russell Haley wrote this message on Sun, Sep 27, 2015 at 21:21 -0700: > >> The option should be included in the man pages for build: > >> > >> > https://www.freebsd.org/cgi/man.cgi?query=build&sektion=7&apropos=0&manpath=FreeBSD+10.2-RELEASE > > > > [great additions] > > > > I agree that this needs better documentation... If you send me a patch, > > I'll make sure it's marked up properly and committed... > > > > Thanks! > > > >> On Sun, Sep 27, 2015 at 9:06 PM, Warner Losh wrote: > >> > >>> src.conf is only used to build /usr/src. src.con(5) documents that. > >>> build(5) has a pointer. > > On a related note, I submitted this last year after some offline > discussions with Tim and others: > > > https://www.freebsd.org/cgi/man.cgi?query=build&sektion=7&apropos=0&manpath=FreeBSD+10.2-RELEASE > > Of course src.conf(5) is useful enough as it is, but a populated file > makes sense to me, at least for crochet, since it can easily be > explicitly referenced in the script. I don't think the *average* x86 > server builder is concerned with removing bluetooth, floppy support, ipf > from base, but I think for those with SoC and embedded hardware, it does > matter. > > The point is, it might be worth having a fully commented, comprehensive > /etc/src.conf file in place, at least for crochet. > > g > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >