From owner-freebsd-current@FreeBSD.ORG Mon Nov 10 17:41:37 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64A288CC; Mon, 10 Nov 2014 17:41:36 +0000 (UTC) Date: Mon, 10 Nov 2014 17:41:33 +0000 From: Glen Barber To: Rick Miller Subject: Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile Message-ID: <20141110174133.GP1469@hub.FreeBSD.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WYfJCIN5rqlfy3K0" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Nov 2014 17:41:37 -0000 --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--