[opensuse-kernel] guards definitions
The guard expression logic seems to be rather blunt, or how does one express if (i386 && (syms || !foo)) that/config if (i386 && (syms || foo)) that/other/config in guards logic? -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Sunday, 6 September 2009 21:06:24 Jan Engelhardt wrote:
The guard expression logic seems to be rather blunt, or how does one express
if (i386 && (syms || !foo)) that/config if (i386 && (syms || foo)) that/other/config
in guards logic?
The guards script we mostly use for enabling/disabling patches for particular kernels? There's some pod documentation in the script itself. The algorithm is very simple and doesn't support parentheses. We never needed anything that fancy. I think you should get the effect you are looking for with this: syms !foo -!i386 that/config syms foo -!i386 that/other/config (Oh, and I could really imagine nicer ways of asking a question on a list.) Andreas -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
Andreas Gruenbacher
-
Jan Engelhardt