we do not need Python to build anymore

This commit is contained in:
Nguyen Anh Quynh
2020-04-30 13:58:33 +08:00
parent 05013b8e47
commit 00bbe2ce7d
14 changed files with 1019 additions and 83 deletions

14
qemu/scripts/qapi.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/sh
# Run this scripts to create qapi below files in root dir
# ../qapi-types.c
# ../qapi-types.h
# ../qapi-visit.c
# ../qapi-visit.h
python scripts/qapi-types.py -h -o .. -b -i qapi-schema.json
python scripts/qapi-types.py -c -o .. -b -i qapi-schema.json
python scripts/qapi-visit.py -h -o .. -b -i qapi-schema.json
python scripts/qapi-visit.py -c -o .. -b -i qapi-schema.json