[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] linux: Force build failure if modules build fails
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1198147446 0 # Node ID e2fa79c659e2d4d39b69abe59e492371cf7aef51 # Parent 6730dfe7ec692efeadb06fe8abf1e4be33338ecb linux: Force build failure if modules build fails When building a linux kernel, if the modules build fails, then the build carries on regardless. The problem is simple - the "make modules" failure is not seen by the calling make since its return value is not what is returned. Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx> --- buildconfigs/mk.linux-2.6-common | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 6730dfe7ec69 -r e2fa79c659e2 buildconfigs/mk.linux-2.6-common --- a/buildconfigs/mk.linux-2.6-common Thu Dec 20 10:43:06 2007 +0000 +++ b/buildconfigs/mk.linux-2.6-common Thu Dec 20 10:44:06 2007 +0000 @@ -59,7 +59,7 @@ ifneq ($(XEN_LINUX_ALLOW_INTERFACE_MISMA fi endif if grep "^CONFIG_MODULES=" $(LINUX_DIR)/.config ; then \ - $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) modules ; \ + $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) modules || exit 1 ; \ $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_MOD_PATH=$(DESTDIR) modules_install ; \ fi $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(DESTDIR) $(IMAGE_TARGET) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |