RFC: MK_BLOBS build option

Xin Li delphij at delphij.net
Mon Jan 23 19:57:11 UTC 2012


-----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 at 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-----


More information about the freebsd-arch mailing list