From patchwork Tue Apr 6 11:31:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 49495 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9C662B7BEE for ; Tue, 6 Apr 2010 21:32:33 +1000 (EST) Received: from localhost ([127.0.0.1]:47516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nz71C-0002Xn-HJ for incoming@patchwork.ozlabs.org; Tue, 06 Apr 2010 07:32:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nz70K-0002Qg-O9 for qemu-devel@nongnu.org; Tue, 06 Apr 2010 07:31:36 -0400 Received: from [140.186.70.92] (port=32901 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nz70J-0002QY-Ge for qemu-devel@nongnu.org; Tue, 06 Apr 2010 07:31:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nz70I-0007MD-0w for qemu-devel@nongnu.org; Tue, 06 Apr 2010 07:31:35 -0400 Received: from thoth.sbs.de ([192.35.17.2]:16626) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nz70H-0007Lj-KM for qemu-devel@nongnu.org; Tue, 06 Apr 2010 07:31:33 -0400 Received: from mail2.siemens.de (localhost [127.0.0.1]) by thoth.sbs.de (8.12.11.20060308/8.12.11) with ESMTP id o36BVUvS029812; Tue, 6 Apr 2010 13:31:30 +0200 Received: from [139.25.109.167] (mchn012c.mchp.siemens.de [139.25.109.167] (may be forged)) by mail2.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id o36BVTej012918; Tue, 6 Apr 2010 13:31:30 +0200 Message-ID: <4BBB1B91.90805@siemens.com> Date: Tue, 06 Apr 2010 13:31:29 +0200 From: Jan Kiszka User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Anthony Liguori X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Cc: qemu-devel , "Michael S. Tsirkin" Subject: [Qemu-devel] [PATCH] Add KVM CFLAGS to vhost build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The configure test of vhost uses KVM CFLAGS, so the build must use them as well. Otherwise we specifically miss what --kerneldir provides. Signed-off-by: Jan Kiszka Acked-by: Michael S. Tsirkin --- Makefile.target | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.target b/Makefile.target index 45cbe56..6fc3034 100644 --- a/Makefile.target +++ b/Makefile.target @@ -32,7 +32,7 @@ PROGS=$(QEMU_PROG) LIBS+=-lm -kvm.o kvm-all.o: QEMU_CFLAGS+=$(KVM_CFLAGS) +kvm.o kvm-all.o vhost.o vhost_net.o: QEMU_CFLAGS+=$(KVM_CFLAGS) config-target.h: config-target.h-timestamp config-target.h-timestamp: config-target.mak