summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2019-05-21 16:56:30 +0200
committerCornelia Huck <cohuck@redhat.com>2019-05-21 16:56:30 +0200
commitb1b9e0dc78a8e98704c2ff255b3b18aed44e8d78 (patch)
treef6607fa28958191fc711fbffe04ed1ea97512d98
parente85decf2f1df4e1b6bb06e5ca2da4a44fbb857f4 (diff)
downloadqemu-b1b9e0dc78a8e98704c2ff255b3b18aed44e8d78.zip
update-linux-headers: handle new header file
We need to copy sve_context.h for aarch64. Signed-off-by: Cornelia Huck <cohuck@redhat.com>
-rwxr-xr-xscripts/update-linux-headers.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index c3819d2b98..f76d77363b 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -122,6 +122,9 @@ for arch in $ARCHLIST; do
cp "$tmpdir/include/asm/unistd-oabi.h" "$output/linux-headers/asm-arm/"
cp "$tmpdir/include/asm/unistd-common.h" "$output/linux-headers/asm-arm/"
fi
+ if [ $arch = arm64 ]; then
+ cp "$tmpdir/include/asm/sve_context.h" "$output/linux-headers/asm-arm64/"
+ fi
if [ $arch = x86 ]; then
cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x86/"
cp "$tmpdir/include/asm/unistd_x32.h" "$output/linux-headers/asm-x86/"