« Previous | Next » 

Revision 837a2e26

ID837a2e267f9c01cd9204d5b701712d6d26a5220e

Added by Peter Maydell over 10 years ago

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 <>.

Signed-off-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences