Received: from eggs.gnu.org ([2001:4830:134:3::10]:54314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDjHI-0004Pr-WC for qemu-devel@nongnu.org; Sun, 25 Aug 2013 18:59:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDjHB-00065t-Pw for qemu-devel@nongnu.org; Sun, 25 Aug 2013 18:59:24 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:61447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDjHB-00065i-JS for qemu-devel@nongnu.org; Sun, 25 Aug 2013 18:59:17 -0400 Received: by mail-ee0-f41.google.com with SMTP id d17so1279208eek.0 for ; Sun, 25 Aug 2013 15:59:16 -0700 (PDT) Sender: =?UTF-8?B?w4Frb3MgS292w6Fjcw==?= From: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= Date: Mon, 26 Aug 2013 00:58:11 +0200 Message-Id: <1377471536-12423-3-git-send-email-akoskovacs@gmx.com> In-Reply-To: <1377471536-12423-1-git-send-email-akoskovacs@gmx.com> References: <1377471536-12423-1-git-send-email-akoskovacs@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 02/47] Makefile.target: CONFIG_NO_* variables removed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= CONFIG_NO_* variables replaced with the lnot logical function Signed-off-by: Ákos Kovács --- Makefile.target | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile.target b/Makefile.target index 9a49852..bbc668b 100644 --- a/Makefile.target +++ b/Makefile.target @@ -70,10 +70,6 @@ all: $(PROGS) stap # Dummy command so that make thinks it has done something @true -CONFIG_NO_PCI = $(if $(subst n,,$(CONFIG_PCI)),n,y) -CONFIG_NO_KVM = $(if $(subst n,,$(CONFIG_KVM)),n,y) -CONFIG_NO_XEN = $(if $(subst n,,$(CONFIG_XEN)),n,y) - ######################################################### # cpu emulator library obj-y = exec.o translate-all.o cpu-exec.o @@ -84,7 +80,7 @@ obj-y += fpu/softfloat.o obj-y += target-$(TARGET_BASE_ARCH)/ obj-y += disas.o obj-$(CONFIG_GDBSTUB_XML) += gdbstub-xml.o -obj-$(CONFIG_NO_KVM) += kvm-stub.o +obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o ######################################################### # Linux user emulator target @@ -125,7 +121,7 @@ LIBS+=$(libs_softmmu) # xen support obj-$(CONFIG_XEN) += xen-all.o xen-mapcache.o -obj-$(CONFIG_NO_XEN) += xen-stub.o +obj-$(call lnot,$(CONFIG_XEN)) += xen-stub.o # Hardware support ifeq ($(TARGET_NAME), sparc64) -- 1.7.10.4