Date: Mon, 10 Nov 2014 17:41:33 +0000 From: Glen Barber <gjb@FreeBSD.org> To: Rick Miller <vmiller@hostileadmin.com> Cc: freebsd-current@freebsd.org Subject: Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile Message-ID: <20141110174133.GP1469@hub.FreeBSD.org> 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
--WYfJCIN5rqlfy3K0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 10, 2014 at 09:38:08AM -0500, Rick Miller wrote: > Hi all, >=20 > 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_ resolv= ed > the error. >=20 > I have little familiarity with these knobs, but was under the impression > the Makefile would not differ like this. Is there documentation describi= ng > the use of these knobs between the varying branches and how they are > changed from CURRENT to STABLE/RELEASE? >=20 These changes are result of src.opts.mk changes (only available in head/) that allows specifying MK_FOO=3Dno instead of WITHOUT_FOO=3Dyes 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=3Dyes, but does not want that to apply to the resulting ISOs, so a "global" WITH_DEBUG_FILES=3Dyes and target-specific MK_DEBUG_FILES=3Dno do not collide. Glen --WYfJCIN5rqlfy3K0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUYPjMAAoJEAMUWKVHj+KT2dQP/RTQyFBixnhKD97bmESdzPnQ RncTz2FolTuoDFh9qKqXr+0LZ118/i0frNnpQZPSp9pFtywva6k1DpUAvHjc64AL QSHazoxDFXUu4C53qrx77/608PDwXfok51QAexwv293tRtytLmZP30cO3cgaE0Sw rr78lIoZbROxvmCco01/QKl3+d4+hGi/j488Bgy96RBFBx1qAAUsoA3nGZp9J1hv ZMnAiY5vJmc1Ijyng9I8NRrV6MvE1AK1IUZfsXGUjpROyn8sIw9oNs9+slqw/YR4 4bUek85uwcgSc4GnwABD8Fj69llK0ClcdCwq7QrKb9TyMQAgpak14/u94JaVB+Fv HUtRs1BiKmeZ2Gp7cmzZ8lnzA13oKnyirDpN5SlXanQDfWAtHcve3lXmfR0Hg+hm vP+JWGuWFaSL6M5V8loMbfq4+xbMNeoq3YuxGX5OCxUBaj9H9DfDC8VklGpy/gNY mqvS/lURWl41UT4LMJ0fIgO1Lnp5MWYzc+ZTJmuXoRqMx4v7DQHfUc0fzU4+f7ct DGiBlKZ28BnuJYYBb2dvtkN/v5vni0lVNmZXJptLPx/ixAN4h0HQxT5UJDX0QyZC s6Ssm8z1L0HhmKquFbTWI5IrukXopt+V6AOMhktPrtB8pFZ6Q0iN8+UKwzIxCDsy JPoxw09TbWnPK4rJOnZc =YE3P -----END PGP SIGNATURE----- --WYfJCIN5rqlfy3K0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141110174133.GP1469>