Received: from eggs.gnu.org ([208.118.235.92]:37629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhFfi-0004sw-Sn for qemu-devel@nongnu.org; Tue, 28 May 2013 04:54:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhFfd-0002ui-It for qemu-devel@nongnu.org; Tue, 28 May 2013 04:54:22 -0400 Message-ID: <51A470A9.8000502@redhat.com> Date: Tue, 28 May 2013 10:54:01 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1369698254-32350-1-git-send-email-aik@ozlabs.ru> <1369698583-32533-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1369698583-32533-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3] qemu: fix out of tree cross compile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-trivial@nongnu.org, Peter Maydell , qemu-devel@nongnu.org Il 28/05/2013 01:49, Alexey Kardashevskiy ha scritto: > The symlink to "asm" platform linux headers is made in the build tree by > the configure script but gcc is not told to look for them there. > > The patch fixes this. > > Signed-off-by: Alexey Kardashevskiy > --- > > The previous patch did not remove the old line adding includes. Early morning, > lack of focus :) > > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 5ae7e4a..eca2a20 100755 > --- a/configure > +++ b/configure > @@ -547,7 +547,7 @@ Haiku) > if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then > audio_possible_drivers="$audio_possible_drivers fmod" > fi > - QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES" > + QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$(pwd)/linux-headers $QEMU_INCLUDES" > ;; > esac > > Reviewed-by: Paolo Bonzini Paolo