From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhgFv-0001bH-E3 for qemu-devel@nongnu.org; Wed, 29 May 2013 09:17:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhgFr-00036L-Pk for qemu-devel@nongnu.org; Wed, 29 May 2013 09:17:31 -0400 Received: from mail-ob0-x22d.google.com ([2607:f8b0:4003:c01::22d]:35475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhgFr-00035m-Go for qemu-devel@nongnu.org; Wed, 29 May 2013 09:17:27 -0400 Received: by mail-ob0-f173.google.com with SMTP id wc20so2766669obb.18 for ; Wed, 29 May 2013 06:17:27 -0700 (PDT) From: Anthony Liguori In-Reply-To: <1369698583-32533-1-git-send-email-aik@ozlabs.ru> References: <1369698254-32350-1-git-send-email-aik@ozlabs.ru> <1369698583-32533-1-git-send-email-aik@ozlabs.ru> Date: Wed, 29 May 2013 08:17:21 -0500 Message-ID: <87fvx653j2.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 , Paolo Bonzini , Peter Maydell Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org Alexey Kardashevskiy writes: > 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 :) Please repost as a top level patch. Regards, Anthony Liguori > > --- > 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 > > -- > 1.7.10.4