]> git.proxmox.com Git - mirror_qemu.git/commit - Makefile
Makefile: Do not generate files if "configure" has not been run yet
authorThomas Huth <thuth@redhat.com>
Thu, 8 Jun 2017 12:59:59 +0000 (14:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Jun 2017 09:04:05 +0000 (11:04 +0200)
commit428952cfa966f5af8c8f3d33267d30969851e4c5
treeb0c0cbab32b2b0f5e3d0b17260718bba85bcea57
parent87e459a810d7b1ec1638085b5a80ea3d9b43119a
Makefile: Do not generate files if "configure" has not been run yet

When doing a "make -j10" in the vanilla QEMU source tree (without
running "configure" first), the Makefile currently generates two
files already, qemu-version.h and qemu-options.def. This should not
happen, so let's only build the generated files if config-host.mak
is available (i.e. "configure" has been run already).

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1496926799-13040-1-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile