diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 10:44:06 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 10:44:06 +0000 |
commit | 58319a498355d380f2dd5170561a984a956e2a14 (patch) | |
tree | 476be70fb370178a9c2da4904c2c101ace2a02f3 /buildconfigs | |
parent | b8af4123ed9d2c39b4706724778c47b18b7e3e8f (diff) | |
download | xen-58319a498355d380f2dd5170561a984a956e2a14.tar.gz xen-58319a498355d380f2dd5170561a984a956e2a14.tar.bz2 xen-58319a498355d380f2dd5170561a984a956e2a14.zip |
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@redhat.com>
Diffstat (limited to 'buildconfigs')
-rw-r--r-- | buildconfigs/mk.linux-2.6-common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildconfigs/mk.linux-2.6-common b/buildconfigs/mk.linux-2.6-common index cd02d9ce43..2fa7052b2b 100644 --- a/buildconfigs/mk.linux-2.6-common +++ b/buildconfigs/mk.linux-2.6-common @@ -59,7 +59,7 @@ ifneq ($(XEN_LINUX_ALLOW_INTERFACE_MISMATCH),y) 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) |