summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-08 19:17:08 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:45:28 -0600
commit66255c5ccf796b5fe542def88c3065844385604f (patch)
tree03394443324ab1312a4dd1898d396e297e4627c7
parent1da67b9ab2f3c110d4397a8f65a62b1684fa9439 (diff)
downloadhqemu-66255c5ccf796b5fe542def88c3065844385604f.zip
hqemu-66255c5ccf796b5fe542def88c3065844385604f.tar.gz
scripts/feature_to_c.sh: Include qemu/osdep.h rather than config.h
In the .c files generated by this script, include qemu/osdep.h as the first included header, not config.h. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
-rw-r--r--scripts/feature_to_c.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh
index 888548e..fb1f336 100644
--- a/scripts/feature_to_c.sh
+++ b/scripts/feature_to_c.sh
@@ -36,7 +36,7 @@ for input; do
arrayname=xml_feature_`echo $input | sed 's,.*/,,; s/[-.]/_/g'`
${AWK:-awk} 'BEGIN { n = 0
- printf "#include \"config.h\"\n"
+ printf "#include \"qemu/osdep.h\"\n"
printf "#include \"qemu-common.h\"\n"
printf "#include \"exec/gdbstub.h\"\n"
print "static const char '$arrayname'[] = {"
OpenPOWER on IntegriCloud