From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh75Y-0000PC-8Y for qemu-devel@nongnu.org; Mon, 27 May 2013 19:44:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uh75T-00005d-G0 for qemu-devel@nongnu.org; Mon, 27 May 2013 19:44:28 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:43098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uh75T-00005L-7H for qemu-devel@nongnu.org; Mon, 27 May 2013 19:44:23 -0400 Received: by mail-pd0-f173.google.com with SMTP id v14so5775026pde.4 for ; Mon, 27 May 2013 16:44:22 -0700 (PDT) From: Alexey Kardashevskiy Date: Tue, 28 May 2013 09:44:14 +1000 Message-Id: <1369698254-32350-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <51A3E556.3020509@ozlabs.ru> References: <51A3E556.3020509@ozlabs.ru> Subject: [Qemu-devel] [PATCH v2] 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 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 5ae7e4a..20b42f0 100755 --- a/configure +++ b/configure @@ -548,6 +548,7 @@ Haiku) 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