scripts: add arch specific standard-headers
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 16 Feb 2015 21:36:48 +0000 (22:36 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 12:04:06 +0000 (13:04 +0100)
Copy arch specific virtio headers.
ATM this applies to s390 only.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
scripts/update-linux-headers.sh

index 5ab391496f4fb8e1b91a9f8554474905d7d43f55..9680e2711a595037dd65b6966fdc7b7a0d9ba46b 100755 (executable)
@@ -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"