mirror of https://github.com/xemu-project/xemu.git
Add linux-headers to QEMU_INCLUDES
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> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bd2be15003
commit
fd123245b9
|
@ -544,6 +544,7 @@ Haiku)
|
||||||
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
|
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
|
||||||
audio_possible_drivers="$audio_possible_drivers fmod"
|
audio_possible_drivers="$audio_possible_drivers fmod"
|
||||||
fi
|
fi
|
||||||
|
QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -4227,10 +4228,6 @@ else
|
||||||
fi
|
fi
|
||||||
includes="-I\$(SRC_PATH)/tcg $includes"
|
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
|
for i in $ARCH $TARGET_BASE_ARCH ; do
|
||||||
case "$i" in
|
case "$i" in
|
||||||
alpha)
|
alpha)
|
||||||
|
|
Loading…
Reference in New Issue