diff mbox

[2/4] build: use -$(CONFIG_SECCOMP) instead of ifeq

Message ID 1358590008-1681-3-git-send-email-pbonzini@redhat.com
State New
Headers show

Commit Message

Paolo Bonzini Jan. 19, 2013, 10:06 a.m. UTC
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 Makefile.objs |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

Comments

Andreas Färber Jan. 19, 2013, 6:06 p.m. UTC | #1
Am 19.01.2013 11:06, schrieb Paolo Bonzini:
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Acked-by: Andreas Färber <afaerber@suse.de>

Andreas
diff mbox

Patch

diff --git a/Makefile.objs b/Makefile.objs
index 3548f9b..3bdb248 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -80,11 +80,7 @@  common-obj-$(CONFIG_SLIRP) += slirp/
 
 common-obj-y += backends/
 
-######################################################################
-# libseccomp
-ifeq ($(CONFIG_SECCOMP),y)
-common-obj-y += qemu-seccomp.o
-endif
+common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o
 
 common-obj-$(CONFIG_SMARTCARD_NSS) += $(libcacard-y)