tools/Makefile: unset MAKELEVEL before building QEMU
PATCH 1/1 tools/Makefile: unset MAKELEVEL before building QEMU
Since QEMU commits aef45d51d1204f3335fb99de6658e0c5612c2b67 "build: automatically handle GIT submodule checkout for dtc" the QEMU makefiles rely on the variable MAKELEVEL to make a decision on whether to update some git submodules or not. Since we call QEMU build from within the Xen one, MAKELEVEL would already be greater than 0 and the git submodules would not be updated and QEMU would fail to build.
Fix this by removing MAKELEVEL from the environment before trying to build QEMU.
--- tools/Makefile | 1 + 1 file changed, 1 insertion(+)
tools/Makefile +1 -0
@@ -217,6 +217,7 @@ QEMU_XEN_ENABLE_DEBUG := endif subdir-all-qemu-xen-dir: qemu-xen-dir-find + unset MAKELEVEL; \ if test -d $(QEMU_UPSTREAM_LOC) ; then \ source=$(QEMU_UPSTREAM_LOC); \ else \
Signature · 7 lines
Anthony PERARD _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Anthony PERARD writes ("[PATCH] tools/Makefile: unset MAKELEVEL before building QEMU"):
Quoted 9 lines
Since QEMU commits
aef45d51d1204f3335fb99de6658e0c5612c2b67"build: automatically handle GIT submodule checkout for dtc" the QEMU makefiles rely on the variable MAKELEVEL to make a decision on whether to update some git submodules or not. Since we call QEMU build from within the Xen one, MAKELEVEL would already be greater than 0 and the git submodules would not be updated and QEMU would fail to build.Fix this by removing MAKELEVEL from the environment before trying to build QEMU.
Urgh.
I think this is a bug in the qemu makefiles. But also, use of git submodules is a bug in itself. None of that is likely to be fixed.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi,
Quoted 11 lines · Ian Jackson
Anthony PERARD writes ("[PATCH]
tools/Makefile: unset MAKELEVEL before building QEMU"):Quoted 9 lines
Since QEMU commits
aef45d51d1204f3335fb99de6658e0c5612c2b67"build: automatically handle GIT submodule checkout for dtc" the QEMU makefiles rely on the variable MAKELEVEL to make a decision on whether to update some git submodules or not. Since we call QEMU build from within the Xen one, MAKELEVEL would already be greater than 0 and the git submodules would not be updated and QEMU would fail to build.Fix this by removing MAKELEVEL from the environment before trying to build QEMU.
Quoted 6 lines
Urgh.
I think this is a bug in the qemu makefiles. But also, use of git submodules is a bug in itself. None of that is likely to be fixed.
Acked-by Ian Jackson <[email protected]>
Cheers,
Quoted 3 lines
Ian.
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel