From 2e725848c3b33e6b2045b96b1088c0ea41cbd4bf Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Mon, 6 Jun 2016 22:43:41 +0200 Subject: [PATCH] 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 --- fs/jffs2/jffs2.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2