Commit Graph

5 Commits

Author SHA1 Message Date
Xi Ruoyao
58c5c91272
kernel-config: Add back EFI_STUB to GRUB UEFI kernel configuration
This is a preparation for GRUB 2.12.  With GRUB 2.12 EFI stub is the
recommended way to boot x86 (32-bit or 64-bit) kernels with UEFI, and
the old way is only kept as fallback.
2023-12-21 19:32:14 +08:00
Xi Ruoyao
da09255a1c
kernel-config: Drop FB
In Linux 6.6, we can select DRM_FBDEV_EMULATION without FB, so FB is no
longer needed.  And now FRAMEBUFFER_CONSOLE is not enforced (even if FB
is selected), so we need to select it manually.
2023-12-05 14:47:55 +08:00
Xi Ruoyao
14176436f0
kernel-config: Update the script
1. Don't throw unspecified entries too early.  Doing so caused various
   rendering glitches.  And we can now also check if an entry is
   selected but it's parent not.
2. "menu"s in Kconfig can also have dependencies...

Some pre-existing .toml data files are found problematic after the
change, fix them and regenerate all rendered -kernel.xml files.
2023-07-31 21:44:37 +08:00
Xi Ruoyao
185ffd913f
kernel-config: Allow specifying non-module style forcing for tristate
instead of relying on unsound heuristic.
2023-07-31 21:44:36 +08:00
Xi Ruoyao
6af847b8dd
uefi: Use new kernel config
Fix an issue causing kernel-config.py not to process indented "source"
directive in Kconfig for this.
2023-07-31 21:44:36 +08:00