Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 06:00:14 -0500
From:      Rick Miller <vmiller@hostileadmin.com>
To:        Glen Barber <gjb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile
Message-ID:  <CAHzLAVE3hU=RUNBUY1puwqwX29QicMp5jV28bUxjpUPLjkA2Aw@mail.gmail.com>
In-Reply-To: <20141110174133.GP1469@hub.FreeBSD.org>
References:  <CAHzLAVGBUfO4Q4FVAVJE-Q-EacC_9MFHGHi=GDn1CJ5ubC-=bg@mail.gmail.com> <20141110174133.GP1469@hub.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 10, 2014 at 12:41 PM, Glen Barber <gjb@freebsd.org> wrote:

> On Mon, Nov 10, 2014 at 09:38:08AM -0500, Rick Miller wrote:
> > Hi all,
> >
> > release/Makefile in CURRENT utilizes MK_* knobs vs. the WITH_/WITHOUT_*
> > knobs seen in release/Makefile in the STABLE/RELEASE branches.  Merging a
> > CURRENT version of the Makefile into a RELEASE branch and executing a
> > release build results in an error citing "MK_KERNEL_SYMBOLS can't be set
> by
> > a user".  Comparisons of the Makefile between CURRENT and STABLE/RELEASE
> > exposed the difference and changing the knobs from MK_ to WITHOUT_
> resolved
> > the error.
> >
> > I have little familiarity with these knobs, but was under the impression
> > the Makefile would not differ like this.  Is there documentation
> describing
> > the use of these knobs between the varying branches and how they are
> > changed from CURRENT to STABLE/RELEASE?
> >
>
> These changes are result of src.opts.mk changes (only available in
> head/) that allows specifying MK_FOO=no instead of WITHOUT_FOO=yes on
> the command line.
>
> The changes were applied to the release/Makefile because it allows more
> granular tuning for different stages of the release build.  For example,
> one might want to build userland/kernel with WITH_DEBUG_FILES=yes, but
> does not want that to apply to the resulting ISOs, so a "global"
> WITH_DEBUG_FILES=yes and target-specific MK_DEBUG_FILES=no do not
> collide.
>

Thanks, Glen & Scot...

The necessary bits exist in STABLE and were, therefore, merged from there
as opposed to CURRENT.  Your feedback is appreciated.

-- 
Take care
Rick Miller



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHzLAVE3hU=RUNBUY1puwqwX29QicMp5jV28bUxjpUPLjkA2Aw>