Jump to content

Can we stop building modules for hardware that doesn't exist on the target device?


Recommended Posts

Can we stop building modules for hardware that doesn't exist on the target device?

My observation is that we seem to be building the entire kernel tree, but correct me if I'm wrong.

Let's see if we can only build hardware that actually exists on the device instead of building everything.

 

For example, my Pine64 doesn't even have WiFi but dozens of WiFi drivers are built. 

Same with my Orange Pi 3 LTS, it has BlueTooth and WiFi, but doesn't need the several dozen other BlueTooth and WiFi devices built into its kernel modules directory.

 

Thanks!

 

Link to comment
Share on other sites

Having individual kernel configurations for each and every board would be insane. Having combined configurations for families is hard enough to maintain.

If you like to have a kernel with less modules (which btw. when not loaded only need some space on sd and do not affect CPU/memory so it is kind of waste of time) you have to do that on your own.

 

Disabling 3rd party WiFi drivers is fairly simply by setting EXTRAWIFI to no.

Also checkout https://docs.armbian.com/Developer-Guide_Build-Preparation/

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines