diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-02-16 22:36:32 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-02-26 13:04:05 +0100 |
commit | 05e492b0dbe42232b2ee9edffb016c68e6519a61 (patch) | |
tree | ac09d44098cf7f073d947d64c0329aab0c07e40d /scripts/update-linux-headers.sh | |
parent | 9b70c1790acacae54d559d38ca69186a85040bb8 (diff) |
update-linux-headers: use standard-headers
Drop the linux-specific virtio headers, use the copy from
standard-headers instead.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/update-linux-headers.sh')
-rwxr-xr-x | scripts/update-linux-headers.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 8926dec57f..5ab391496f 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -91,7 +91,7 @@ done rm -rf "$output/linux-headers/linux" mkdir -p "$output/linux-headers/linux" -for header in kvm.h kvm_para.h vfio.h vhost.h virtio_config.h virtio_ring.h \ +for header in kvm.h kvm_para.h vfio.h vhost.h \ psci.h; do cp "$tmpdir/include/linux/$header" "$output/linux-headers/linux" done @@ -106,6 +106,12 @@ else cp "$linux/COPYING" "$output/linux-headers" fi +cat <<EOF >$output/linux-headers/linux/virtio_config.h +#include "standard-headers/linux/virtio_config.h" +EOF +cat <<EOF >$output/linux-headers/linux/virtio_ring.h +#include "standard-headers/linux/virtio_ring.h" +EOF cp_virtio "$tmpdir/include/linux/" "$output/include/standard-headers/linux" |