qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, Jan Kiszka <jan.kiszka@siemens.com>,
	mst@redhat.com
Subject: [Qemu-devel] [PATCH 03/12] Add linux-headers to QEMU_INCLUDES
Date: Thu, 11 Apr 2013 18:10:24 +0200	[thread overview]
Message-ID: <1365696633-30727-4-git-send-email-pbonzini@redhat.com> (raw)
In-Reply-To: <1365696633-30727-1-git-send-email-pbonzini@redhat.com>

From: Jan Kiszka <jan.kiszka@siemens.com>

virtio/dataplane/vring.c requires the Linux headers and is built for all
targets. So we need to add the corresponding include to QEMU_INCLUDES to
avoid that outdated distribution headers are used.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 configure | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/configure b/configure
index 1ed939a..ee07f07 100755
--- a/configure
+++ b/configure
@@ -544,6 +544,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"
 ;;
 esac
 
@@ -4230,10 +4231,6 @@ else
 fi
 includes="-I\$(SRC_PATH)/tcg $includes"
 
-if test "$linux" = "yes" ; then
-  includes="-I\$(SRC_PATH)/linux-headers $includes"
-fi
-
 for i in $ARCH $TARGET_BASE_ARCH ; do
   case "$i" in
   alpha)
-- 
1.8.1.4

  parent reply	other threads:[~2013-04-11 16:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-11 16:10 [Qemu-devel] [PATCH 00/12] directory reorganization, final part Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 01/12] arm: fix location of some include files Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 02/12] virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge Paolo Bonzini
2013-04-11 16:10 ` Paolo Bonzini [this message]
2013-04-11 16:10 ` [Qemu-devel] [PATCH 04/12] Fix failure to create q35 machine Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 05/12] configure: fix TPM logic Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 06/12] tpm: reorganize headers and split hardware part Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 07/12] sysemu: avoid proliferation of include/ subdirectories Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 08/12] include: avoid useless includes of exec/ headers Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 09/12] memory: move core typedefs to qemu/typedefs.h Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 10/12] exec: remove useless declarations from memory-internal.h Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 11/12] hw: move memory API headers to hw/ Paolo Bonzini
2013-04-11 16:10 ` [Qemu-devel] [PATCH 12/12] hw: move memory API to hw/core Paolo Bonzini
2013-04-11 16:28   ` Peter Maydell
2013-04-11 17:07     ` Michael S. Tsirkin
2013-04-11 17:09     ` Paolo Bonzini
2013-04-11 17:14       ` Peter Maydell
2013-04-11 18:18         ` Paolo Bonzini
2013-04-11 19:00           ` Michael S. Tsirkin
2013-04-15 16:52 ` [Qemu-devel] [PATCH 00/12] directory reorganization, final part 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=1365696633-30727-4-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@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).