]> Git Repo - qemu.git/commitdiff
qapi: qapi-event.py option -b does nothing, drop it
authorMarkus Armbruster <[email protected]>
Thu, 2 Apr 2015 09:40:21 +0000 (11:40 +0200)
committerMarkus Armbruster <[email protected]>
Thu, 14 May 2015 16:37:14 +0000 (18:37 +0200)
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Makefile
scripts/qapi-event.py

index f032158645a92ce1fe382f3f1577b099c9838c51..bfa5dab4cdaaa44dbe4f41b1a88db24fb9dcf776 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -273,7 +273,7 @@ $(qapi-modules) $(SRC_PATH)/scripts/qapi-visit.py $(qapi-py)
 qapi-event.c qapi-event.h :\
 $(qapi-modules) $(SRC_PATH)/scripts/qapi-event.py $(qapi-py)
        $(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-event.py \
-               $(gen-out-type) -o "." -b -i $<, \
+               $(gen-out-type) -o "." -i $<, \
                "  GEN   $@")
 qmp-commands.h qmp-marshal.c :\
 $(qapi-modules) $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py)
index a7e0033cc1b32bb1d19e97a013f0d5498f3682a7..3e1f4cf0fd6317e88146f55a14f9af446567a250 100644 (file)
@@ -220,8 +220,8 @@ const char *%(event_enum_name)s_lookup[] = {
 # Start the real job
 
 try:
-    opts, args = getopt.gnu_getopt(sys.argv[1:], "chbp:i:o:",
-                                   ["source", "header", "builtins", "prefix=",
+    opts, args = getopt.gnu_getopt(sys.argv[1:], "chp:i:o:",
+                                   ["source", "header", "prefix=",
                                     "input-file=", "output-dir="])
 except getopt.GetoptError, err:
     print str(err)
@@ -235,7 +235,6 @@ h_file = 'qapi-event.h'
 
 do_c = False
 do_h = False
-do_builtins = False
 
 for o, a in opts:
     if o in ("-p", "--prefix"):
@@ -248,8 +247,6 @@ for o, a in opts:
         do_c = True
     elif o in ("-h", "--header"):
         do_h = True
-    elif o in ("-b", "--builtins"):
-        do_builtins = True
 
 if not do_c and not do_h:
     do_c = True
This page took 0.029109 seconds and 4 git commands to generate.