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" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
6dd7bbb591
commit
2e725848c3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user