From: Yann E. MORIN Date: Mon, 6 Jun 2016 20:43:41 +0000 (+0200) Subject: fs/jffs2: split commands X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e725848c3b33e6b2045b96b1088c0ea41cbd4bf;p=buildroot.git fs/jffs2: split commands Now that we can properly printf a multi-line command, there is no need to use a single command to gnerate the jffs2 image. Signed-off-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/fs/jffs2/jffs2.mk b/fs/jffs2/jffs2.mk index a9cd4146ee..9a36a75ff4 100644 --- a/fs/jffs2/jffs2.mk +++ b/fs/jffs2/jffs2.mk @@ -39,8 +39,8 @@ ROOTFS_JFFS2_DEPENDENCIES = host-mtd ifneq ($(BR2_TARGET_ROOTFS_JFFS2_SUMMARY),) define ROOTFS_JFFS2_CMD - $(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $@.nosummary && \ - $(SUMTOOL) $(SUMTOOL_OPTS) -i $@.nosummary -o $@ && \ + $(MKFS_JFFS2) $(JFFS2_OPTS) -d $(TARGET_DIR) -o $@.nosummary + $(SUMTOOL) $(SUMTOOL_OPTS) -i $@.nosummary -o $@ rm $@.nosummary endef else