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
commit 6c3527e2e6

View File

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