ubifs: remove breaking commas from ubi calls

The extra commas get output by the shell resulting in errors since
the commands that get called with those extra commas are then
malformed.

Signed-off-by: Joris de Vries <joris@apptrician.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38419 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Luka Perkov 2013-10-15 21:37:31 +00:00
parent 85eaf1d6be
commit 9eb69ef0dc
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),)
$(STAGING_DIR_HOST)/bin/mkfs.ubifs \ $(STAGING_DIR_HOST)/bin/mkfs.ubifs \
$(if $($(PROFILE)_UBIFS_OPTS), \ $(if $($(PROFILE)_UBIFS_OPTS), \
$(shell echo $($(PROFILE)_UBIFS_OPTS)), \ $(shell echo $($(PROFILE)_UBIFS_OPTS)), \
$(shell echo $(UBIFS_OPTS)), \ $(shell echo $(UBIFS_OPTS)) \
) \ ) \
$(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \ $(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--force-compr=none) \ $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--force-compr=none) \
@ -143,7 +143,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),)
$(STAGING_DIR_HOST)/bin/ubinize \ $(STAGING_DIR_HOST)/bin/ubinize \
$(if $($(PROFILE)_UBI_OPTS), \ $(if $($(PROFILE)_UBI_OPTS), \
$(shell echo $($(PROFILE)_UBI_OPTS)), \ $(shell echo $($(PROFILE)_UBI_OPTS)), \
$(shell echo $(UBI_OPTS)), \ $(shell echo $(UBI_OPTS)) \
) \ ) \
-o $(KDIR)/root.ubi \ -o $(KDIR)/root.ubi \
ubinize.cfg \ ubinize.cfg \