|
|
|
@ -3,10 +3,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),) |
|
|
|
|
$(CP) ./ubinize$(1).cfg $(KDIR)
|
|
|
|
|
( cd $(KDIR); \
|
|
|
|
|
$(STAGING_DIR_HOST)/bin/ubinize \
|
|
|
|
|
$(if $($(PROFILE)_UBI_OPTS), \
|
|
|
|
|
$(shell echo $($(PROFILE)_UBI_OPTS)), \
|
|
|
|
|
$(shell echo $(UBI_OPTS)) \
|
|
|
|
|
) \
|
|
|
|
|
$(if $($(PROFILE)_UBI_OPTS),$($(PROFILE)_UBI_OPTS),$(shell echo $(UBI_OPTS))) \
|
|
|
|
|
-o $(KDIR)/root$(1).ubi \
|
|
|
|
|
ubinize$(1).cfg \
|
|
|
|
|
)
|
|
|
|
@ -16,10 +13,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),) |
|
|
|
|
|
|
|
|
|
$(if $($(PROFILE)_UBIFS_OPTS)$(UBIFS_OPTS),
|
|
|
|
|
$(STAGING_DIR_HOST)/bin/mkfs.ubifs \
|
|
|
|
|
$(if $($(PROFILE)_UBIFS_OPTS), \
|
|
|
|
|
$(shell echo $($(PROFILE)_UBIFS_OPTS)), \
|
|
|
|
|
$(shell echo $(UBIFS_OPTS)) \
|
|
|
|
|
) \
|
|
|
|
|
$(if $($(PROFILE)_UBIFS_OPTS),$($(PROFILE)_UBIFS_OPTS),$(UBIFS_OPTS)) \
|
|
|
|
|
$(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \
|
|
|
|
|
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--force-compr=none) \
|
|
|
|
|
$(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--force-compr=lzo) \
|
|
|
|
|