mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
linux-headers: add unistd.h
New syscalls are not yet widely distributed. Add them to qemu linux-headers include directory. Update based on v4.3-rc3 kernel headers. Exclude mips for now, which is more problematic due to extra header inclusion and probably unnecessary here. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
This commit is contained in:
parent
751bcc3981
commit
1842bdfdba
11 changed files with 3404 additions and 4 deletions
|
@ -69,7 +69,7 @@ for arch in $ARCHLIST; do
|
|||
fi
|
||||
|
||||
# Blacklist architectures which have KVM headers but are actually dead
|
||||
if [ "$arch" = "ia64" ]; then
|
||||
if [ "$arch" = "ia64" -o "$arch" = "mips" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
@ -77,7 +77,7 @@ for arch in $ARCHLIST; do
|
|||
|
||||
rm -rf "$output/linux-headers/asm-$arch"
|
||||
mkdir -p "$output/linux-headers/asm-$arch"
|
||||
for header in kvm.h kvm_para.h; do
|
||||
for header in kvm.h kvm_para.h unistd.h; do
|
||||
cp "$tmpdir/include/asm/$header" "$output/linux-headers/asm-$arch"
|
||||
done
|
||||
if [ $arch = powerpc ]; then
|
||||
|
@ -92,6 +92,9 @@ for arch in $ARCHLIST; do
|
|||
fi
|
||||
if [ $arch = x86 ]; then
|
||||
cp_portable "$tmpdir/include/asm/hyperv.h" "$output/include/standard-headers/asm-x86/"
|
||||
cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x86/"
|
||||
cp "$tmpdir/include/asm/unistd_x32.h" "$output/linux-headers/asm-x86/"
|
||||
cp "$tmpdir/include/asm/unistd_64.h" "$output/linux-headers/asm-x86/"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue