summary refs log tree commit diff stats
path: root/docs/specs
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-11-06 11:08:14 +0000
committerDaniel P. Berrange <berrange@redhat.com>2017-11-06 12:49:20 +0000
commitc4b01c7c5171e9f77ed4ed6d9b4f63845410f641 (patch)
tree05928a7b182dcf1047bea974139da63d99e6406d /docs/specs
parent49ad3cfa67145a71644d7832ed20c2a2b0620d15 (diff)
downloadfocaccia-qemu-c4b01c7c5171e9f77ed4ed6d9b4f63845410f641.tar.gz
focaccia-qemu-c4b01c7c5171e9f77ed4ed6d9b4f63845410f641.zip
build: remove use of MAKELEVEL optimization in submodule handling
The Makefile attempts to optimize the handling of submodules by using MAKELEVEL
to only check the submodule status when running from the top level make
invokation. This causes problems for people who are using a makefile of their
own to in turn invoke QEMU's makefile, as MAKELEVEL is already set to 1 (or
more) when QEMU's makefile runs.

This optimization should not really be needed, since the git-submodule.sh
script is already used to detect if a submodule update is required. This by
removing the MAKELEVEL check, we at most add an extra 'git-submodule.sh status'
call to each make level, the overhead of which is lost in noise of building
QEMU.

Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'docs/specs')
0 files changed, 0 insertions, 0 deletions