Revision 0b400e79

b/Makefile
178 178
# Build libraries
179 179

  
180 180
libqemustub.a: $(stub-obj-y)
181
libqemuutil.a: $(util-obj-y)
181
libqemuutil.a: $(util-obj-y) qapi-types.o qapi-visit.o
182 182

  
183 183
######################################################################
184 184

  
......
215 215

  
216 216
qapi-types.c qapi-types.h :\
217 217
$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-types.py $(qapi-py)
218
	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py $(gen-out-type) -o "." < $<, "  GEN   $@")
218
	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-types.py $(gen-out-type) -o "." -b < $<, "  GEN   $@")
219 219
qapi-visit.c qapi-visit.h :\
220 220
$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-visit.py $(qapi-py)
221
	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-visit.py $(gen-out-type) -o "."  < $<, "  GEN   $@")
221
	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-visit.py $(gen-out-type) -o "." -b < $<, "  GEN   $@")
222 222
qmp-commands.h qmp-marshal.c :\
223 223
$(SRC_PATH)/qapi-schema.json $(SRC_PATH)/scripts/qapi-commands.py $(qapi-py)
224 224
	$(call quiet-command,$(PYTHON) $(SRC_PATH)/scripts/qapi-commands.py $(gen-out-type) -m -o "." < $<, "  GEN   $@")

Also available in: Unified diff