Received: from eggs.gnu.org ([208.118.235.92]:59285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhgTF-0006lF-Pf for qemu-devel@nongnu.org; Wed, 29 May 2013 09:31:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhgT9-0008N9-9O for qemu-devel@nongnu.org; Wed, 29 May 2013 09:31:17 -0400 Received: from mail-oa0-f51.google.com ([209.85.219.51]:36491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhgT9-0008Mg-5B for qemu-devel@nongnu.org; Wed, 29 May 2013 09:31:11 -0400 Received: by mail-oa0-f51.google.com with SMTP id f4so11531045oah.38 for ; Wed, 29 May 2013 06:31:09 -0700 (PDT) From: Alexey Kardashevskiy Date: Wed, 29 May 2013 23:30:43 +1000 Message-Id: <1369834243-17088-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v3] qemu: fix out of tree cross compile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Peter Maydell Cc: Alexey Kardashevskiy , qemu-trivial@nongnu.org, qemu-devel@nongnu.org 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 --- Reposting it as a top level patch. --- 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