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>
11 lines
284 B
Makefile
11 lines
284 B
Makefile
CONFIG_PCI=y
|
|
CONFIG_VIRTIO_PCI=$(CONFIG_PCI)
|
|
CONFIG_VHOST_USER_SCSI=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
CONFIG_VIRTIO=y
|
|
CONFIG_SCLPCONSOLE=y
|
|
CONFIG_TERMINAL3270=y
|
|
CONFIG_S390_FLIC=y
|
|
CONFIG_S390_FLIC_KVM=$(CONFIG_KVM)
|
|
CONFIG_VFIO_CCW=$(CONFIG_LINUX)
|
|
CONFIG_WDT_DIAG288=y
|