SPECULATIVE: moby: build kernel with MFD_RK8XXX_* as a module instead of as builtin

This commit is contained in:
2024-10-01 13:06:10 +00:00
parent a641dc6e39
commit 6f38c7847f
2 changed files with 16 additions and 0 deletions

View File

@@ -128,6 +128,10 @@ in
"rockchip_rga"
"rockchip_vdec"
"rockchipdrm"
# speculatively, might not need!
"rk8xx-core"
"rk8xx-i2c"
"rk8xx-spi"
# these can surely be reduced:
# "8250_dw"

View File

@@ -375,5 +375,17 @@ linux_latest.override {
# INFINIBAND = lib.mkForce no;
# };
# }
{
# i'd like to patch some drivers, and that's easier to do when i build them for out-of-tree.
name = "make-module-for-out-of-tree";
patch = null;
extraStructuredConfig = with lib.kernel; {
# MFD_CORE = module;
# MFD_ALTERA_SYSMGR = module;
MFD_RK8XX = module;
MFD_RK8XX_I2C = module;
MFD_RK8XX_SPI = module; #< necessary for MFD_RK8XX=m to apply
};
}
];
}