ts-xen-build: run `make all' before `make', by default
PATCH 1/1 ts-xen-build: run `make all' before `make', by default
The Xen build system has some quirks. One of them is that make' is a version of make dist' which is a version of make install', which runs make install' in each subdir - but there are subdirs where make install' is a no-op which does not depend on make all'. Perhaps the latter is a mistake, but it's not one we can correct in stable branches.
The result is that we might miss bugs where `make all' fails. Eg, the recently discovered build failures in the emulator tests, due to backported changes.
Detect these by running make all' before make' (unless our caller has specified some other build arguments). In the future perhaps we should do tools and hypervisor builds entirely separately.
--- ts-xen-build | 6 ++++++ 1 file changed, 6 insertions(+)
ts-xen-build +6 -0
@@ -160,6 +160,12 @@ END fi END + if (!@make_args) { + buildcmd_stamped_logged(9000, 'xen', 'all', '',<<END,''); + $make_prefix make $makeflags all +END + } + buildcmd_stamped_logged(9000, 'xen', 'build', '',<<END,''); $make_prefix make $makeflags @make_args END
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel