Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2012 11:57:08 -0800
From:      Xin Li <delphij@delphij.net>
To:        Robert Millan <rmh@freebsd.org>
Cc:        Kostik Belousov <kostikbel@gmail.com>, Adrian Chadd <adrian@freebsd.org>, d@delphij.net, freebsd-arch@freebsd.org
Subject:   Re: RFC: MK_BLOBS build option
Message-ID:  <4F1DBB94.900@delphij.net>
In-Reply-To: <20120122201814.GA32081@thorin>
References:  <20120122201814.GA32081@thorin>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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 <device name>' in the
same time, so they can be included from a kernel configuration file at
the end?

Cheers,
- -- 
Xin LI <delphij@delphij.net>	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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F1DBB94.900>