spiffs: fix issue with args to spiffsgen in make

This commit is contained in:
Renz Christian Bagaporo 2019-10-21 17:50:27 +08:00
parent 27a4802f92
commit 746322b7d6

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