RFC: MK_BLOBS build option

Warner Losh imp at bsdimp.com
Mon Jan 23 23:17:30 UTC 2012


I like the idea, but hate the name.  BLOB has a negative connotation, and this option would seem to imply the project doesn't like blobs, which isn't the case.  Can we find a different name for this please?

Warner


On Jan 23, 2012, at 12:57 PM, Xin Li wrote:

> -----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-----
> _______________________________________________
> freebsd-arch at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arch
> To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"
> 
> 



More information about the freebsd-arch mailing list