Skip to contentSkip to conversation

Add dependency of JSON unit tests on config-host.h

PATCH Applied Jan Kiszka 3 participants 3 messages May 20, 2010 – Jun 1, 2010 Kbuild

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 Add dependency of JSON unit tests on config-host.h

From: Jan Kiszka <[email protected]>

---
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Makefile +2 -0
index 110698e..aa81d9b 100644
@@ -144,6 +144,8 @@ qemu-io$(EXESUF): qemu-io.o cmd.o qemu-tool.o qemu-error.o $(block-obj-y) $(qobj
 qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
 	$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"  GEN   $@")
 
+check-qint.o check-qstring.o check-qdict.o check-qlist.o check-qfloat.o check-qjson.o: $(GENERATED_HEADERS)
+
 check-qint: check-qint.o qint.o qemu-malloc.o
 check-qstring: check-qstring.o qstring.o qemu-malloc.o
 check-qdict: check-qdict.o qdict.o qfloat.o qint.o qstring.o qbool.o qemu-malloc.o qlist.o
Signature · 1 line
1.6.0.2
#1 lore raw
Quoted 3 lines · On Thu, 20 May 2010 09:18:52 +0200 Jan Kiszka <[email protected]> wrote:

From: Jan Kiszka <[email protected]>

Looks good.

Quoted 17 lines
---
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Makefile +2 -0
index 110698e..aa81d9b 100644
@@ -144,6 +144,8 @@ qemu-io$(EXESUF): qemu-io.o cmd.o qemu-tool.o qemu-error.o $(block-obj-y) $(qobj
 qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
 	$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"  GEN   $@")
 
+check-qint.o check-qstring.o check-qdict.o check-qlist.o check-qfloat.o check-qjson.o: $(GENERATED_HEADERS)
+
 check-qint: check-qint.o qint.o qemu-malloc.o
 check-qstring: check-qstring.o qstring.o qemu-malloc.o
 check-qdict: check-qdict.o qdict.o qfloat.o qint.o qstring.o qbool.o qemu-malloc.o qlist.o
#2 lore raw
In reply to Jan Kiszka
Quoted 4 lines · Jan Kiszka

From: Jan Kiszka<[email protected]>

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 18 lines
---
  Makefile |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
Makefile +2 -0
index 110698e..aa81d9b 100644
@@ -144,6 +144,8 @@ qemu-io$(EXESUF): qemu-io.o cmd.o qemu-tool.o qemu-error.o $(block-obj-y) $(qobj
  qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
  	$(call quiet-command,sh $(SRC_PATH)/hxtool -h<  $<  >  $@,"  GEN   $@")
 
+check-qint.o check-qstring.o check-qdict.o check-qlist.o check-qfloat.o check-qjson.o: $(GENERATED_HEADERS)
+
  check-qint: check-qint.o qint.o qemu-malloc.o
  check-qstring: check-qstring.o qstring.o qemu-malloc.o
  check-qdict: check-qdict.o qdict.o qfloat.o qint.o qstring.o qbool.o qemu-malloc.o qlist.o