qemu-trivial.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: Paolo Bonzini <pbonzini@redhat.com>,
	Peter Maydell <peter.maydell@linaro.org>
Cc: Alexey Kardashevskiy <aik@ozlabs.ru>,
	qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: [Qemu-trivial] [PATCH v2] qemu: fix out of tree cross compile
Date: Tue, 28 May 2013 09:44:14 +1000	[thread overview]
Message-ID: <1369698254-32350-1-git-send-email-aik@ozlabs.ru> (raw)
In-Reply-To: <51A3E556.3020509@ozlabs.ru>

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 <aik@ozlabs.ru>
---
 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



  reply	other threads:[~2013-05-27 23:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27  6:13 [Qemu-trivial] [PATCH] qemu: fix out of tree cross compile Alexey Kardashevskiy
2013-05-27 10:24 ` [Qemu-trivial] [Qemu-devel] " Peter Maydell
2013-05-27 14:11   ` Alexey Kardashevskiy
2013-05-27 14:12     ` [Qemu-trivial] " Alexey Kardashevskiy
2013-05-27 15:02       ` Paolo Bonzini
2013-05-27 22:59         ` Alexey Kardashevskiy
2013-05-27 23:44           ` Alexey Kardashevskiy [this message]
2013-05-27 23:49             ` [Qemu-trivial] [PATCH v3] " Alexey Kardashevskiy
2013-05-28  8:54               ` Paolo Bonzini
2013-05-28  9:12                 ` [Qemu-trivial] [Qemu-devel] " Andreas Färber
2013-05-28  9:21                   ` Paolo Bonzini
2013-05-29 13:17               ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369698254-32350-1-git-send-email-aik@ozlabs.ru \
    --to=aik@ozlabs.ru \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).