[xen master] tools/Makefile: unset MAKELEVEL before building QEMU
Author: Anthony PERARD <[hidden email]>
AuthorDate: Thu Oct 19 15:29:56 2017 +0100
Commit: Ian Jackson <[hidden email]>
CommitDate: Fri Oct 20 11:37:20 2017 +0100
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
+ unset MAKELEVEL; \
if test -d $(QEMU_UPSTREAM_LOC) ; then \
generated by git-patchbot for /home/xen/git/xen.git#master