summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-02-16 22:36:48 +0100
committerMichael S. Tsirkin <mst@redhat.com>2015-02-26 13:04:06 +0100
commit44fb1dd4cef6d8be87cef7437fb350d0ebf2f837 (patch)
treef212e19e3c2e994b1474845736bf9af5e297f70b /scripts
parentcbbe4f50a028ff49e983a2a8d82c8b0ae49bc756 (diff)
downloadqemu-44fb1dd4cef6d8be87cef7437fb350d0ebf2f837.zip
scripts: add arch specific standard-headers
Copy arch specific virtio headers. ATM this applies to s390 only. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-linux-headers.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 5ab391496f..9680e2711a 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -87,6 +87,8 @@ for arch in $ARCHLIST; do
if [ $arch = powerpc ]; then
cp "$tmpdir/include/asm/epapr_hcalls.h" "$output/linux-headers/asm-powerpc/"
fi
+
+ cp_virtio "$tmpdir/include/asm" "$output/include/standard-headers/asm-$arch"
done
rm -rf "$output/linux-headers/linux"