From owner-freebsd-current@FreeBSD.ORG Tue Nov 11 11:00:15 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12DAB5C5; Tue, 11 Nov 2014 11:00:15 +0000 (UTC) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (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 CCD588FC; Tue, 11 Nov 2014 11:00:14 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id rp18so10779017iec.26 for ; Tue, 11 Nov 2014 03:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=GU75//Vt9SNz1YzIx2BE8zF2Ihylk1yXpvPUhWCYKbE=; b=cBmTyg9pv/GU1pgxdfISaNf3YlcGXN1r5VJpZZWr7H1vru24GRKvFaMJZ3rRSKNWq7 1PulOz1Bjtn89KvQIOrgl3oV9hG2xbqUNbWERsS1ltliwAnX28Ney02FqhY7J9KFsvKv 6PieMY3A4S/UDOxoNBA1d1nBPjkmpSajOsXoAdHUHsgW2CGskD9hwUeIX3onrkteUk65 cYLEWLVdKfzVWNtAbKxhs67srYA2rUSNy3P7h4sYwfX4z/d/cU6uKfgtAqdYpg7zcINP elrAljhmKuAtBcfD4mfQOCVti954TaD+x8Cx1F6/Ktmo5l8Jl5WH6Ddfn288OjKS9j63 g+OQ== MIME-Version: 1.0 X-Received: by 10.43.170.134 with SMTP id nq6mr41301530icc.30.1415703614201; Tue, 11 Nov 2014 03:00:14 -0800 (PST) Sender: vrwmiller@gmail.com Received: by 10.64.165.73 with HTTP; Tue, 11 Nov 2014 03:00:14 -0800 (PST) In-Reply-To: <20141110174133.GP1469@hub.FreeBSD.org> References: <20141110174133.GP1469@hub.FreeBSD.org> Date: Tue, 11 Nov 2014 06:00:14 -0500 X-Google-Sender-Auth: yG9gfMksZ5ykQqHy29nhjZxt-p8 Message-ID: Subject: Re: MK_ vs. WITH_/WITHOUT_ in release/Makefile From: Rick Miller To: Glen Barber Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Tue, 11 Nov 2014 11:00:15 -0000 On Mon, Nov 10, 2014 at 12:41 PM, Glen Barber wrote: > On Mon, Nov 10, 2014 at 09:38:08AM -0500, 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? > > > > These changes are result of src.opts.mk changes (only available in > head/) that allows specifying MK_FOO=no instead of WITHOUT_FOO=yes 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=yes, but > does not want that to apply to the resulting ISOs, so a "global" > WITH_DEBUG_FILES=yes and target-specific MK_DEBUG_FILES=no do not > collide. > Thanks, Glen & Scot... The necessary bits exist in STABLE and were, therefore, merged from there as opposed to CURRENT. Your feedback is appreciated. -- Take care Rick Miller