From owner-freebsd-arch@FreeBSD.ORG Mon Jan 23 19:34:16 2012 Return-Path: Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A561E1065670; Mon, 23 Jan 2012 19:34:16 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id F1D528FC14; Mon, 23 Jan 2012 19:34:12 +0000 (UTC) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.5/8.14.2) with ESMTP id q0NJYCuL000528; Mon, 23 Jan 2012 14:34:12 -0500 (EST) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.5/8.14.2/Submit) id q0NJYCtd000527; Mon, 23 Jan 2012 14:34:12 -0500 (EST) (envelope-from das@FreeBSD.ORG) Date: Mon, 23 Jan 2012 14:34:12 -0500 From: David Schultz To: Robert Millan Message-ID: <20120123193412.GA353@zim.MIT.EDU> Mail-Followup-To: Robert Millan , freebsd-arch@freebsd.org, Kostik Belousov , Adrian Chadd , tabthorpe@FreeBSD.org References: <20120122201814.GA32081@thorin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120122201814.GA32081@thorin> Cc: Kostik Belousov , Adrian Chadd , tabthorpe@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG Subject: Re: RFC: MK_BLOBS build option X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2012 19:34:16 -0000 On Sun, Jan 22, 2012, Robert Millan wrote: > I propose this build option so that users can select if they want to disable > blobs of binary code in their kernel. Currently Debian does this by patching > the build system; having a build option would make things much easier, but > it can also be useful for users whose preference is not to install those > modules. > > Description: > > Add MK_BLOBS build option. Setting MK_BLOBS to "no" will disable kernel > modules that include binary-only blobs of code. > > More fine-grained control is provided via MK_BLOBS_HOST (for native code > that runs on host CPU) and MK_BLOBS_UCODE (for microcode). > > Please comment! There has been recent work on the ports system to allow users to specify what licenses are considered acceptable for software installed on their machines. The blob issue reflects a similar concern, so it's worth looking at what they have done to see if there are any good ideas you might want to adopt: http://wiki.freebsd.org/PortsLicenseInfrastructure In particular, maybe someone will want to add a way to disable building drivers covered by GPL, APSL, etc. So does it make sense to rename the knob to something along the lines of `ACCEPTABLE_LICENSES+=blob'? Note that this is a mostly uninformed suggestion, so if you're already aware of the ports license infrastructure work and don't think it's apropos to this knob, then don't worry about it.