On Fri, 4 Nov 2016 10:35:12 +0000, Yassin Philip wrote:
Is there really no way to just (de)select the options
you need,
programmatically?
There isn't, but assuming you already have a config of a generic
or lowlatency kernel with exactly the same version, you want to build
with the rt patch and if you exactly know what are the current rt
related options, you e.g. could use the sed command to edit the config
by a script. There are still pitfall. Regarding some even non-rt related
options, e.g. CONFIG_HZ_1000, it's disputable what to use or not to use.
Depending on the rt patched kernel you want to build, it might make a
difference, if you are using an AMD or Intel CPU, what options to use.
There several times were serious issues with AMD CPUs, that required
dedicated configurations. There is a reason why distros usually don't
provide realtime kernels by official repositories. It's a kernel that
requires fine tuning, it's not a kernel off the rack.