diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 13:16:21 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-12-20 13:16:21 +0000 |
commit | 53f48ca221dd5ee65297fdce42ff52aecdc03cde (patch) | |
tree | 1cda3cbc35f56fd82c2eb624de58ac99d4d64d92 /tools/xm-test/ramdisk | |
parent | 58319a498355d380f2dd5170561a984a956e2a14 (diff) | |
download | xen-53f48ca221dd5ee65297fdce42ff52aecdc03cde.tar.gz xen-53f48ca221dd5ee65297fdce42ff52aecdc03cde.tar.bz2 xen-53f48ca221dd5ee65297fdce42ff52aecdc03cde.zip |
Fix some build system error handling.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xm-test/ramdisk')
-rw-r--r-- | tools/xm-test/ramdisk/Makefile.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/xm-test/ramdisk/Makefile.am b/tools/xm-test/ramdisk/Makefile.am index a59e0be21a..944a07146e 100644 --- a/tools/xm-test/ramdisk/Makefile.am +++ b/tools/xm-test/ramdisk/Makefile.am @@ -59,8 +59,8 @@ $(BR_IMG): $(BR_SRC) cp configs/buildroot-$(BR_ARCH) $(BR_SRC)/.config cp configs/busybox $(BR_SRC)/package/busybox/busybox.config cp configs/uClibc $(BR_SRC)/toolchain/uClibc/uClibc.config - (for i in patches/buildroot/*.patch; do \ - cd $(BR_SRC) && patch -p1 <../$$i && cd ..; done ) + set -e; for i in patches/buildroot/*.patch; do \ + cd $(BR_SRC) && patch -p1 <../$$i && cd ..; done cd $(BR_SRC) && make oldconfig && make $(XMTEST_VER_IMG): $(BR_IMG) @@ -69,8 +69,8 @@ $(XMTEST_VER_IMG): $(BR_IMG) -[ -e "$(BLKDRV)" ] && cp $(BLKDRV) skel/modules -[ -e "$(NETDRV)" ] && cp $(NETDRV) skel/modules -[ -e "$(PKTDRV)" ] && cp $(PKTDRV) skel/modules - (cd skel; tar cf - .) \ - | (cd $(BR_SRC)/$(BR_ROOT); tar xvf -) + (cd skel && tar cf - .) \ + | (cd $(BR_SRC)/$(BR_ROOT) && tar xvf -) cd $(BR_SRC) && make cp $(BR_IMG) $(XMTEST_VER_IMG) |