Merge branch 'bugfix/fix_args_to_spiffsgen_in_make_buildsystem' into 'master'

spiffs: fix issue with args to spiffsgen in make

See merge request espressif/esp-idf!6434
This commit is contained in:
Ivan Grokhotkov
2019-10-22 12:36:49 +08:00

View File

@@ -2,21 +2,21 @@ SPIFFSGEN_PY:=$(COMPONENT_PATH)/spiffsgen.py
SPIFFSGEN_FLASH_IN_PROJECT= SPIFFSGEN_FLASH_IN_PROJECT=
ifdef CONFIG_SPIFFS_USE_MAGIC ifdef CONFIG_SPIFFS_USE_MAGIC
USE_MAGIC = "--use-magic" USE_MAGIC := "--use-magic"
else else
USE_MAGIC = "" USE_MAGIC :=
endif endif
ifdef CONFIG_SPIFFS_USE_MAGIC_LENGTH ifdef CONFIG_SPIFFS_USE_MAGIC_LENGTH
USE_MAGIC_LEN = "--use-magic-len" USE_MAGIC_LEN := "--use-magic-len"
else else
USE_MAGIC_LEN = "" USE_MAGIC_LEN :=
endif endif
ifdef CONFIG_SPIFFS_FOLLOW_SYMLINKS ifdef CONFIG_SPIFFS_FOLLOW_SYMLINKS
FOLLOW_SYMLINKS = "--follow-symlinks" FOLLOW_SYMLINKS := "--follow-symlinks"
else else
FOLLOW_SYMLINKS = "" FOLLOW_SYMLINKS :=
endif endif
# spiffs_create_partition_image # spiffs_create_partition_image