build: use -$(CONFIG_SECCOMP) instead of ifeq

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Paolo Bonzini 2013-01-19 11:06:46 +01:00 committed by Blue Swirl
parent 6598001590
commit 737f351892

View File

@ -80,11 +80,7 @@ common-obj-$(CONFIG_SLIRP) += slirp/
common-obj-y += backends/ common-obj-y += backends/
###################################################################### common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o
# libseccomp
ifeq ($(CONFIG_SECCOMP),y)
common-obj-y += qemu-seccomp.o
endif
common-obj-$(CONFIG_SMARTCARD_NSS) += $(libcacard-y) common-obj-$(CONFIG_SMARTCARD_NSS) += $(libcacard-y)