Makefile: Add missing dependency for system emulation (fix build)
PATCH 1/1 Makefile: Add missing dependency for system emulation (fix build)
Comment from Makefile.objs:
# block-obj-y is code used by both qemu system emulation and qemu-img
The system emulation needs this dependency (which was missing in Makefile), otherwise builds without tools (or massive parallel builds) fail.
--- Makefile | 1 + 1 file changed, 1 insertion(+)
Makefile +1 -0
@@ -159,6 +159,7 @@ qemu-options.def: $(SRC_PATH)/qemu-options.hx SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES)) +$(SOFTMMU_SUBDIR_RULES): $(block-obj-y) $(SOFTMMU_SUBDIR_RULES): config-all-devices.mak subdir-%:
Signature · 1 line
1.7.10.4
Il 27/02/2014 21:28, Stefan Weil ha scritto:
Quoted 18 lines
Comment from Makefile.objs:
# block-obj-y is code used by both qemu system emulation and qemu-imgThe system emulation needs this dependency (which was missing in
Makefile), otherwise builds without tools (or massive parallel builds) fail.Signed-off-by Stefan Weil <[email protected]>--- Makefile | 1 + 1 file changed, 1 insertion(+)Makefile +0
-0
Makefile qemu-options.def: $(SRC_PATH)/qemu-options.hx · line 165
Quoted 7 lines
Makefile +1
-0@@ -159,6 +159,7 @@ qemu-options.def: $(SRC_PATH)/qemu-options.hx SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES)) +$(SOFTMMU_SUBDIR_RULES): $(block-obj-y) $(SOFTMMU_SUBDIR_RULES): config-all-devices.mak subdir-%:
Peter Maydell
AppliedQuoted 23 lines · Paolo Bonzini
Il 27/02/2014 21:28, Stefan Weil ha scritto:
Quoted 21 lines
Comment from Makefile.objs:
# block-obj-y is code used by both qemu system emulation and qemu-imgThe system emulation needs this dependency (which was missing in
Makefile),
otherwise builds without tools (or massive parallel builds) fail.Signed-off-by Stefan Weil <[email protected]>--- Makefile | 1 + 1 file changed, 1 insertion(+)Makefile +0
-0@@ -159,6 +159,7 @@ qemu-options.def: $(SRC_PATH)/qemu-options.hx SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES))
Quoted 7 lines
Makefile qemu-options.def: $(SRC_PATH)/qemu-options.hx · line 165
Quoted 5 lines
Makefile +1
-0+$(SOFTMMU_SUBDIR_RULES): $(block-obj-y) $(SOFTMMU_SUBDIR_RULES): config-all-devices.mak subdir-%:Reviewed-by Paolo Bonzini <[email protected]>
Applied, thanks.
-- PMM
Am 27.02.2014 21:28, schrieb Stefan Weil:
Quoted 3 lines
Comment from Makefile.objs:
# block-obj-y is code used by both qemu system emulation and qemu-img
Hello Peter,
the comment which I cited above got lost when you applied the patch to QEMU master (maybe because it started with a #).
Regards
Stefan
Quoted 5 lines
The system emulation needs this dependency (which was missing in
Makefile), otherwise builds without tools (or massive parallel builds) fail.Signed-off-by Stefan Weil <[email protected]>
Quoted 10 lines · Stefan Weil
Am 27.02.2014 21:28, schrieb Stefan Weil:
Quoted 3 lines
Comment from Makefile.objs:
# block-obj-y is code used by both qemu system emulation and qemu-imgHello Peter,
the comment which I cited above got lost when you applied the patch to QEMU master (maybe because it started with a #).
Yes, probably happened as part of a 'git commit --amend' when I added my signoff. Probably best to avoid starting lines in commit messages with a '#' :-)
thanks
-- PMM