OSDN Git Service

Makefile: simpler/faster "make help"
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 8 Nov 2017 03:20:52 +0000 (00:20 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Nov 2017 13:31:33 +0000 (14:31 +0100)
commitb8e535ae8afb3d22b6326080b22c075fa5f40cd4
tree9acfc1b28e484dbdf1efea857e2f1100b3afd4af
parenta2e6ffab97e57f823b6bf15371920c6901bb7cbc
Makefile: simpler/faster "make help"

Using obscure black magic introduced in eaa2ddbb767 :)

In an out-of-tree directory, running "../configure && make help" will generate
some required files (.mak), then clone some submodules, compile at least
the capstone submodule, generate QMP and Trace files, and finally display
the help.

On an outdated computer (Sun Blade workstation), running "make help" took
more than 5h :) With this patch it took roughly 37min.

Suggested-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20171108032052.20029-1-f4bug@amsat.org>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile