]> git.proxmox.com Git - qemu.git/commit
rules.mak: New logical functions for handling y/n values
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Sep 2013 17:25:51 +0000 (18:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Oct 2013 16:21:00 +0000 (18:21 +0200)
commit837a2e267f9c01cd9204d5b701712d6d26a5220e
tree02833701e040d146ba7503a512777142c3fae4d1
parent39c153b80f890dc5f02465dc59992e195abd5f40
rules.mak: New logical functions for handling y/n values

Add new logical functions for handling y/n values like those we
use in CONFIG_FOO variables:
 lnot : logical NOT
 land : logical AND
 lor : logical OR
 lxor : logical XOR
 leqv : logical equality, inverse of lxor
 lif : like Make's $(if) but with an eq-like test

Based on an idea by Ákos Kovács <akoskovacs@gmx.com>.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rules.mak