[Qemu-devel] [PATCH 1/3] rules.mak: New logical functions for handling y/n values

2013-09-13 Thread Peter Maydell
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 eq : equality ne : non-equality lif : like Make's $(if) but with an eq-like test and a couple of utility functions: isempty : true if argument

[Qemu-devel] [PATCH 1/3] rules.mak: New logical functions

2013-06-21 Thread akoskovacs0
From: Ákos Kovács New functions are added: lnot, land, lor, lif, eq, ne, isempty, notempty Example usage: obj-$(call lor,$(CONFIG_LINUX),$(CONFIG_BSD)) += feature.o Signed-off-by: Ákos Kovács --- rules.mak | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --