diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/feature_to_c.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh index 0994d95..b62da8a 100644 --- a/scripts/feature_to_c.sh +++ b/scripts/feature_to_c.sh @@ -36,6 +36,9 @@ 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-common.h\"\n" + printf "#include \"gdbstub.h\"\n" print "static const char '$arrayname'[] = {" for (i = 0; i < 255; i++) _ord_[sprintf("%c", i)] = i |