summaryrefslogtreecommitdiffstats
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
parentcbbe4f50a028ff49e983a2a8d82c8b0ae49bc756 (diff)
downloadhqemu-44fb1dd4cef6d8be87cef7437fb350d0ebf2f837.zip
hqemu-44fb1dd4cef6d8be87cef7437fb350d0ebf2f837.tar.gz
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>
-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 5ab3914..9680e27 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"
OpenPOWER on IntegriCloud