> It would be nice if ELF kernel image holds "modules_enabled" value in > note section which allows LIBSA to tell whether the target kernel is > MODULAR or not.
modular kernels don't *have* to have modules loaded via the boot loader. so what i think you're really after is a flag that says "we want to try to load modules in the loader". .mrg.