From owner-freebsd-current@FreeBSD.ORG Mon Nov 10 19:47:27 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3147655 for ; Mon, 10 Nov 2014 19:47:27 +0000 (UTC) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6E649125 for ; Mon, 10 Nov 2014 19:47:27 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id l18so9726039wgh.38 for ; Mon, 10 Nov 2014 11:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JXJ/SLNpSsXgYhzeBiE5VnlAAHC3FnLufGDSa6NgsdE=; b=ASPmyhcZ3VAQ1lkE7eVmogKWKtQmTWLCLgsJMWsL3xqATjFWKWXJb6KDeD9rk8vJwd UB4esv/h7lZgCGzyyyRVK3qtkCnGG7ZiKfRUGvVvmeWf9mn3RpYRQEXIo7PbpWlFevfQ OD9W1yxf4t6EBiifZ048kudTZBZHup3nJuO7HSAu2F4z8T/1ejj+Dhxlfp3G8z5qlisp vL+ErDO0/VcPilg6osAzj8om0pOdh8JepDrjs2zVJJGlwGCwGa0WE3RCh3ZQiEX4xVs6 NZ+RzO00+QfdpSP+cVeuDC6tsdbHG4HyGFk0XKv/kOLoX0geVHA0F+w/vJDL/k0feZZy JDFw== MIME-Version: 1.0 X-Received: by 10.194.60.16 with SMTP id d16mr47066495wjr.13.1415648842567; Mon, 10 Nov 2014 11:47:22 -0800 (PST) Received: by 10.27.46.14 with HTTP; Mon, 10 Nov 2014 11:47:22 -0800 (PST) In-Reply-To: References: Date: Mon, 10 Nov 2014 13:47:22 -0600 Message-ID: Subject: Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile From: Scot Hetzel To: Rick Miller Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current 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 19:47:27 -0000 On Mon, Nov 10, 2014 at 8:38 AM, 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? > 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.