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

login
register
mail settings
Submitter Paolo Bonzini
Date Jan. 19, 2013, 10:06 a.m.
Message ID <1358590008-1681-3-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/213812/
State New
Headers show

Comments

Paolo Bonzini - Jan. 19, 2013, 10:06 a.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 Makefile.objs |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
Andreas Färber - Jan. 19, 2013, 6:06 p.m.
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

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)