aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-01-19 11:06:46 +0100
committerBlue Swirl <blauwirbel@gmail.com>2013-01-26 13:15:34 +0000
commit737f351892e271fb3080c3c26e6453d939dd1d68 (patch)
tree986c34b393e58a0a4436c0bdd69333fe72b9e47e
parent659800159092333593084593abed2d85c51c5a16 (diff)
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>
-rw-r--r--Makefile.objs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 3548f9be95..3bdb248f0c 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)