From: Paolo Bonzini <pbonzini@redhat.com>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: qemu-trivial@nongnu.org, Peter Maydell <peter.maydell@linaro.org>,
qemu-ppc@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu: fix out of tree cross compile
Date: Mon, 27 May 2013 17:02:00 +0200 [thread overview]
Message-ID: <51A37568.1060705@redhat.com> (raw)
In-Reply-To: <1369663979-25613-1-git-send-email-aik@ozlabs.ru>
Il 27/05/2013 16:12, Alexey Kardashevskiy ha scritto:
> 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 <aik@ozlabs.ru>
> ---
> 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"
You need to have both directories. Files other than asm/*.h will be
found in the source path.
Paolo
next prev parent reply other threads:[~2013-05-27 15:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-27 6:13 [Qemu-devel] [PATCH] qemu: fix out of tree cross compile Alexey Kardashevskiy
2013-05-27 10:24 ` Peter Maydell
2013-05-27 14:11 ` Alexey Kardashevskiy
2013-05-27 14:12 ` Alexey Kardashevskiy
2013-05-27 15:02 ` Paolo Bonzini [this message]
2013-05-27 22:59 ` Alexey Kardashevskiy
2013-05-27 23:44 ` [Qemu-devel] [PATCH v2] " Alexey Kardashevskiy
2013-05-27 23:49 ` [Qemu-devel] [PATCH v3] " Alexey Kardashevskiy
2013-05-28 8:54 ` Paolo Bonzini
2013-05-28 9:12 ` 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=51A37568.1060705@redhat.com \
--to=pbonzini@redhat.com \
--cc=aik@ozlabs.ru \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.