Tim Harrell writes:
I am about to try recompiling a kernel so as not to have framebuffer support, which is the default in the stock 7.2 kernel (CONFIG_FB=y). Because I've taken out the top-level framebuffer support my .config file now has all those sundry framebuffer types that were previously built as modules removed also.
The issue is that when I do a modules_install, won't those modules still be lying around in /lib/modules?
Is this anything to be concerned about? I know it's a bad thing to compile in something that was once a module to the kernel and leave the module lying around underneath /lib/modules/XXX.
I think modules_install will remove the older entries before installing, but just in case you could remove them yourself. This is the line from the Makefile. It looks like it is removing everything in $(MODLIB)/kernel which is where the modules will be stored. _modinst_: @rm -rf $(MODLIB)/kernel @rm -f $(MODLIB)/build @mkdir -p $(MODLIB)/kernel