aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 14:18:31 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-03-16 12:48:11 +0000
commit8bc92a762ab922ab24231807e72f76c4316a1a4d (patch)
tree0969089d3a192efdc0f152071f37c139e68bfce7 /scripts
parent8816c600d3a5d5afd3264d314417fedb1bfb3094 (diff)
downloadqemu-8bc92a762ab922ab24231807e72f76c4316a1a4d.zip
qemu-8bc92a762ab922ab24231807e72f76c4316a1a4d.tar.gz
qemu-8bc92a762ab922ab24231807e72f76c4316a1a4d.tar.bz2
update-linux-headers.sh: Fake types.h doesn't need to include anything
We have a fake linux/types.h which we create in update-linux-headers.h. Now that every QEMU source file includes osdep.h, this fake header doesn't need to include anything at all. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-id: 1456237112-32662-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-linux-headers.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index 6aa8407..f7d62d9 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -136,8 +136,9 @@ for i in "$tmpdir"/include/linux/*virtio*.h "$tmpdir/include/linux/input.h" \
done
cat <<EOF >$output/include/standard-headers/linux/types.h
-#include <stdint.h>
-#include "qemu/compiler.h"
+/* For QEMU all types are already defined via osdep.h, so this
+ * header does not need to do anything.
+ */
EOF
cat <<EOF >$output/include/standard-headers/linux/if_ether.h
#define ETH_ALEN 6