Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Mon, 10 Nov 2014 13:47:22 -0600
On Mon, Nov 10, 2014 at 8:38 AM, Rick Miller <vmiller_at_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.
Received on Mon Nov 10 2014 - 18:47:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:53 UTC