summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBharat Bhushan <r65777@freescale.com>2012-12-18 01:13:58 +0000
committerAlexander Graf <agraf@suse.de>2013-01-07 17:37:09 +0100
commitd56af005dc3d6354bd39411e8446b415bbcf86b8 (patch)
tree70e1411d037c914cd9114bccc8008237ae150a93 /scripts
parentc3203fa5b2c17a1c446e44c87788fef21b4af5f4 (diff)
downloadqemu-d56af005dc3d6354bd39411e8446b415bbcf86b8.tar.gz
qemu-d56af005dc3d6354bd39411e8446b415bbcf86b8.tar.bz2
qemu-d56af005dc3d6354bd39411e8446b415bbcf86b8.zip
powerpc: linux header sync script includes epapr_hcalls.h
epapr_hcalls.h is now referenced by kvm_para.h. so this is needed for QEMU to get compiled on powerpc. Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts')
-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 4c7b566fdf..120a694313 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -54,6 +54,9 @@ for arch in $ARCHLIST; do
if [ $arch = x86 ]; then
cp "$tmpdir/include/asm/hyperv.h" "$output/linux-headers/asm-x86"
fi
+ if [ $arch = powerpc ]; then
+ cp "$tmpdir/include/asm/epapr_hcalls.h" "$output/linux-headers/asm-powerpc/"
+ fi
done
rm -rf "$output/linux-headers/linux"