diff --git a/qemu/scripts/qapi-build.sh b/qemu/scripts/qapi-build.sh new file mode 100644 index 00000000..0cf55027 --- /dev/null +++ b/qemu/scripts/qapi-build.sh @@ -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 qapi-types.py -h -o .. -b -i qapi-schema.json +python qapi-types.py -c -o .. -b -i qapi-schema.json + +python qapi-visit.py -h -o .. -b -i qapi-schema.json +python qapi-visit.py -c -o .. -b -i qapi-schema.json + diff --git a/qemu/scripts/qapi.sh b/qemu/scripts/qapi.sh deleted file mode 100644 index 80fd573c..00000000 --- a/qemu/scripts/qapi.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/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 -