Page MenuHomeFreeBSD

[conf] reduce kernel size if there is no iflib & usb
Needs ReviewPublic

Authored by mizhka on May 27 2019, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 1:46 AM
Unknown Object (File)
Nov 12 2023, 4:36 AM
Unknown Object (File)
Nov 7 2023, 3:57 PM
Unknown Object (File)
Oct 31 2023, 12:08 AM
Unknown Object (File)
Oct 11 2023, 3:57 AM
Unknown Object (File)
Oct 6 2023, 2:38 PM
Unknown Object (File)
Sep 29 2023, 1:05 AM
Unknown Object (File)
Sep 18 2023, 6:37 PM
Subscribers

Details

Reviewers
adrian
Summary

This patch is going to reduce kernel size if USB and IFLIB support are not required. As "option usb" and "option iflib" are valid options, all related files could be included in kernel only if options are defined.

This is initial draft (tested only mips32 and only options off), more testing (amd64 generic, options on/off) is required.
Reviews from USB/IFLIB developers are welcome!

Test Plan

This is initial draft (tested only mips32 and only options off), more testing (amd64 generic, options on/off) is required.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

I like this; but yeah we're going to need to add options iflib everywhere else to make the defaults work. Can you do that?

hm, the iflib bits are already in -head?