From owner-freebsd-arch@FreeBSD.ORG Mon Jan 23 19:57:10 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 E50DD1065739; Mon, 23 Jan 2012 19:57:10 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id CA4C18FC17; Mon, 23 Jan 2012 19:57:10 +0000 (UTC) Received: from delta.delphij.net (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 0C47ACA7C; Mon, 23 Jan 2012 11:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1327348630; bh=v1X443+FsvTedmN/y/aKp8snqwo3TimzFwI6AeMhj0U=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=WGBEYzWM1EXnJgVs7w/AqolVIf6eieTsc0uCBC5jktdIFErhbxAdueQRvZsfK6+Ox F94GHpMzil+TBFlKKpYW18J/Fr3RzH9USOfqlhmA8ZxVjwIGKgFyC5rntAM9xtiDU8 MKpEMhHnKGEHA6KCDbET1vX9LO9J9dEn9xBu+Sw4= Message-ID: <4F1DBB94.900@delphij.net> Date: Mon, 23 Jan 2012 11:57:08 -0800 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Robert Millan References: <20120122201814.GA32081@thorin> In-Reply-To: <20120122201814.GA32081@thorin> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Adrian Chadd , d@delphij.net, 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 Reply-To: d@delphij.net 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:57:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/22/12 12:18, Robert Millan wrote: > > Hi everyone, > > 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! Yes I think that would be good to have. Please note that it's still possible to compile these into kernel if they present in the kernel compile configuration (for instance, device hptmv), which sounds a little bit non-intuitive to me. Maybe we should create three include file (BLOBS, BLOBS_HOST, BLOBS_UCODE perhaps) that lists these modules as 'nodevice ' in the same time, so they can be included from a kernel configuration file at the end? Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8du5QACgkQOfuToMruuMD0OwCdFSZe+qzxl2mM70MYdwu73Oo5 wXoAn0Iy8/hRs3NFThTSKLFYEl3dSQDS =+9aQ -----END PGP SIGNATURE-----