aboutsummaryrefslogtreecommitdiff
path: root/default-configs/pci.mak
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-09-18 20:32:18 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-09-19 16:20:49 +0200
commitd321e6d58eb088d239b6be8ef0938c530d8164da (patch)
treeaabf67f48a0a0132d01cb1537450c8654fd558dc /default-configs/pci.mak
parent262a69f4282e44426c7a132138581d400053e0a1 (diff)
default-configs: Replace $(and ...) with $(call land, ...)
Using $(and ...) is dangerous here: It only works as long as the first argument is set to 'y' or completely unset. It does not work if the first argument is set to 'n' for example. Let's use the "land" make function instead which has been written explicitely for this purpose. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1505759538-15365-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'default-configs/pci.mak')
-rw-r--r--default-configs/pci.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/default-configs/pci.mak b/default-configs/pci.mak
index a758630d30..187e438881 100644
--- a/default-configs/pci.mak
+++ b/default-configs/pci.mak
@@ -43,4 +43,4 @@ CONFIG_VGA=y
CONFIG_VGA_PCI=y
CONFIG_IVSHMEM_DEVICE=$(CONFIG_IVSHMEM)
CONFIG_ROCKER=y
-CONFIG_VHOST_USER_SCSI=$(and $(CONFIG_VHOST_USER),$(CONFIG_LINUX))
+CONFIG_VHOST_USER_SCSI=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))