summaryrefslogtreecommitdiff
path: root/mk/rootfs.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-11-04 19:41:38 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-11-04 19:41:38 +0100
commit9676e7efaee80785a92fc51db42a32926ff999c7 (patch)
treefb4e277d6061cc069cb1a07d1c4ec00b8f48ee93 /mk/rootfs.mk
parent1f54ae329505d936268726938834e4fd7f427953 (diff)
downloadembtoolkit-9676e7efaee80785a92fc51db42a32926ff999c7.tar.gz
embtoolkit-9676e7efaee80785a92fc51db42a32926ff999c7.tar.bz2
embtoolkit-9676e7efaee80785a92fc51db42a32926ff999c7.tar.xz
Build system: rootfs: stop whenever an operation fails
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/rootfs.mk')
-rw-r--r--mk/rootfs.mk20
1 files changed, 10 insertions, 10 deletions
diff --git a/mk/rootfs.mk b/mk/rootfs.mk
index cec4340..10375a8 100644
--- a/mk/rootfs.mk
+++ b/mk/rootfs.mk
@@ -56,31 +56,31 @@ endef
define __embtk_rootfs_stripbins
$(if $(__embtk_rootfs/libso),
$(foreach bin,$(__embtk_rootfs/libso),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/lib32so),
$(foreach bin,$(__embtk_rootfs/lib32so),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/usr/libso),
$(foreach bin,$(__embtk_rootfs/usr/libso),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/usr/lib32so),
$(foreach bin,$(__embtk_rootfs/usr/lib32so),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/usr/libexec),
$(foreach bin,$(__embtk_rootfs/usr/libexec),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/bins),
$(foreach bin,$(__embtk_rootfs/bins),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/sbins),
$(foreach bin,$(__embtk_rootfs/sbins),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/usr/bins),
$(foreach bin,$(__embtk_rootfs/usr/bins),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
$(if $(__embtk_rootfs/usr/sbins),
$(foreach bin,$(__embtk_rootfs/usr/sbins),
- $(call __embtk_rootfs_strip_f,$(bin));))
+ $(call __embtk_rootfs_strip_f,$(bin)) &&:))
endef
__embtk_rootfs_strip:
@@ -94,7 +94,7 @@ endef
define __embtk_rootfs_cleanup
$(foreach pkg-n,$(__embtk_rootfs_pkgs-n),
- $(call __embtk_cleanup_pkg,$(pkg-n));)
+ $(call __embtk_cleanup_pkg,$(pkg-n)) &&:)
rm -rf $(embtk_generated)/rootfs-$(GNU_TARGET)-$(EMBTK_MCU_FLAG)*
endef