Update Linux kernel configuration & patches #444
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates the Linux kernel configuration, removing irrelevant networking-related components, and switching framebuffer drivers to the DRM-based ones. With this, we can finally bootstrap on systems with newer NVIDIA cards, which would green screen with the nvidiafb driver.
KVM is still disabled, see #443 - VIRTUALIZATION is also disabled, as it's useless without KVM or any other suboption being enabled.
Additionally, we can now drop the bad-asm patch, since our newer binutils has no problem supporting that syntax, and it doesn't look quite innocuous to me, removing an offset from a memory access.
The kernel is now built in 2 stages: first, we build vmlinux only, then, after cleaning up any intermediate .o files (except the ones needed to build efistub), we convert it to a bzImage. This required some creative use of the -o option to convince Make not to rebuild all of the .o files we've just deleted as dependencies.