fs/jffs2: split commands
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 6 Jun 2016 20:43:41 +0000 (22:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Jun 2016 20:21:08 +0000 (22:21 +0200)
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" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
fs/jffs2/jffs2.mk

index a9cd4146eec253ee72ed037542b2a33307dbe5e5..9a36a75ff4a416cb34bbd055753ff9adbd5960e4 100644 (file)
@@ -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