From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgyAo-0007Te-2d for qemu-devel@nongnu.org; Mon, 27 May 2013 10:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgyAg-0006eV-H8 for qemu-devel@nongnu.org; Mon, 27 May 2013 10:13:17 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:43462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgyAg-0006eA-BC for qemu-devel@nongnu.org; Mon, 27 May 2013 10:13:10 -0400 Received: by mail-pd0-f172.google.com with SMTP id 10so6654516pdi.3 for ; Mon, 27 May 2013 07:13:09 -0700 (PDT) From: Alexey Kardashevskiy Date: Tue, 28 May 2013 00:12:59 +1000 Message-Id: <1369663979-25613-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <51A36976.80608@ozlabs.ru> References: <51A36976.80608@ozlabs.ru> Subject: [Qemu-devel] [PATCH] qemu: fix out of tree cross compile List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Alexey Kardashevskiy , qemu-trivial@nongnu.org, qemu-ppc@nongnu.org, qemu-devel@nongnu.org The symlink to 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 5ae7e4a..5ba691a 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$(pwd)/linux-headers $QEMU_INCLUDES" ;; esac -- 1.7.10.4