Date: Mon, 10 Nov 2014 13:47:22 -0600 From: Scot Hetzel <swhetzel@gmail.com> To: Rick Miller <vmiller@hostileadmin.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile Message-ID: <CACdU%2Bf8hk6OXPKjte-5eFGSTwP-GSsazw6wrMxo55FFb7m90HA@mail.gmail.com> In-Reply-To: <CAHzLAVGBUfO4Q4FVAVJE-Q-EacC_9MFHGHi=GDn1CJ5ubC-=bg@mail.gmail.com> References: <CAHzLAVGBUfO4Q4FVAVJE-Q-EacC_9MFHGHi=GDn1CJ5ubC-=bg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 10, 2014 at 8:38 AM, Rick Miller <vmiller@hostileadmin.com> 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? > According to head/share/Mk/src.opts.mk: # Users define WITH_FOO and WITHOUT_FOO on the command line or in /etc/src.conf # and /etc/make.conf files. These translate in the build system to MK_FOO={yes,no} # with sensible (usually) defaults. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8hk6OXPKjte-5eFGSTwP-GSsazw6wrMxo55FFb7m90HA>