Date: Mon, 28 Sep 2015 22:29:50 -0700 From: Russell Haley <russ.haley@gmail.com> To: Warner Losh <imp@bsdimp.com> Cc: John-Mark Gurney <jmg@funkthat.com>, freebsd-arm <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org> Subject: Re: Building Less? Message-ID: <CABx9NuRLfef1y8WMRn4_zZM42YWZtyJ=7MF61XJ4-B7iUkjZqA@mail.gmail.com> In-Reply-To: <CANCZdfqwSSLMoPJzZxNL_Zoc5QLCfr2h3uGdHmF7sNefbvYTag@mail.gmail.com> References: <CABx9NuRb5yOjrfM0i0pDmNzaEefdsTxByiggGm%2B-m0UW%2BK%2BbdA@mail.gmail.com> <1443104974.1224.269.camel@freebsd.org> <CABx9NuQ6pp3irW=7wjvkAEuJzmtrmNLa4fmw0XL5DKmDaC2r2A@mail.gmail.com> <CABx9NuSTZaNAoc1pKZ0Wx7YHyGwaXrr-nm2xFqgqbRyZ_6CDug@mail.gmail.com> <CANCZdfo-8yjWGzcOYXLOr0epguHiu2a9hJ%2BKKoWV8c-8JYR3tQ@mail.gmail.com> <CABx9NuR_mauNkyj9j1e_oHy3HRS6B7gm7Ew-YF9RCj5ENqHi4g@mail.gmail.com> <BA852FF5-26FF-4C86-9F90-42C5C1F8F4B4@bsdimp.com> <CABx9NuR41Ai2aSBPxT19GSpZgx%2BqphGJom9OEbhWiCqrK3w-1A@mail.gmail.com> <20150928162916.GU99677@funkthat.com> <CABx9NuRxxAzLpsfx4Sb%2BTFnwSYxWMt=WXUhkvAfERMu13X%2B8Ag@mail.gmail.com> <CANCZdfqwSSLMoPJzZxNL_Zoc5QLCfr2h3uGdHmF7sNefbvYTag@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Okay, here is the diff for the changes above. I didn't re-build as Mr. Gurney said he would validate and commit . Can I suggest/submit some other changes to the build (7) page (that I will test myself)? Also the fdp-primer says in chapter 3.1 that the doc project owns man pages and then I couldn't find another single reference to them again. Much thanks! Russ On Mon, Sep 28, 2015 at 9:08 PM, Warner Losh <imp@bsdimp.com> wrote: > That's a good place to start. > > Warner > > On Mon, Sep 28, 2015 at 9:56 PM, Russell Haley <russ.haley@gmail.com> > wrote: > >> Do I follow this? >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/ >> >> Thanks, >> >> Russ >> >> On Mon, Sep 28, 2015 at 9:29 AM, John-Mark Gurney <jmg@funkthat.com> >> wrote: >> >>> 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 <imp@bsdimp.com> wrote: >>> > >>> > > src.conf is only used to build /usr/src. src.con(5) documents that. >>> > > build(5) has a pointer. >>> > > >>> > > How would you suggest making this clearer? >>> >>> -- >>> John-Mark Gurney Voice: +1 415 225 5579 >>> >>> "All that I will do, has been done, All that I have, has not." >>> >> >> > [-- Attachment #2 --] Index: man5/src.conf.5 =================================================================== --- man5/src.conf.5 (revision 288164) +++ man5/src.conf.5 (working copy) @@ -10,7 +10,7 @@ .Sh DESCRIPTION The .Nm -file contains settings that will apply to every build involving the +file contains variables that control what components will be generated for all builds involving the .Fx source tree; see .Xr build 7 . Index: man7/build.7 =================================================================== --- man7/build.7 (revision 288164) +++ man7/build.7 (working copy) @@ -102,7 +102,11 @@ variables described in the .Sx ENVIRONMENT section below, and by the variables documented in -.Xr make.conf 5 . +.Xr make.conf 5 . +The default components included in the build are specified in the file +/etc/src.conf in the source tree. To override the default file, include +the SRCCONF option in the make steps, pointing to a custom src.conf +file. For more information see src.conf. .Pp The following list provides the names and actions for the targets supported by the build system: @@ -445,6 +449,9 @@ .Bd -literal -offset indent make PORTS_MODULES=emulators/kqemu-kmod kernel .Ed +.It Va SRCCONF +Specify a file to override the default /etc/src.conf. The src.conf file controls the components to build. See +.Xr SRC.CONF 5 .It Va STRIPBIN Command to use at install time when stripping binaries. Be sure to add any additional tools required to runhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuRLfef1y8WMRn4_zZM42YWZtyJ=7MF61XJ4-B7iUkjZqA>
