Searched hist:"5914 ef77cc1bd4c3d79ccd3e3f82f34604275b93" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | Makefile | 5914ef77cc1bd4c3d79ccd3e3f82f34604275b93 Fri Oct 23 07:34:54 CDT 2020 Paolo Bonzini <pbonzini@redhat.com> Makefile: separate meson rerun from the rest of the ninja invocation
The rules to build Makefile.mtest are suffering from the "tunnel vision" problem that is common with recursive makefiles. Makefile.mtest depends on build.ninja, but Make does not know when build.ninja needs to be rebuilt before creating Makefile.mtest.
To fix this, separate the ninja invocation into the "regenerate build files" phase and the QEMU build phase. Sentinel files such as meson-private/coredata.dat or build.ninja are used to figure out the phases that haven't run yet; however, because those files' timestamps are not guaranteed to be touched, the usual makefile stamp-file trick is used on top.
Reported-by: Havard Skinnemoen <hskinnemoen@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|