From f6befc235fe65fa92dc603406d448f3eac07960a Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 1 Aug 2019 00:51:53 -0400 Subject: [PATCH] chg: macro SRC_SPIFFS is dependent of WITH_FLASH --- armsrc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/armsrc/Makefile b/armsrc/Makefile index 105a880a7..a71c46dfc 100644 --- a/armsrc/Makefile +++ b/armsrc/Makefile @@ -34,14 +34,16 @@ SRC_CRAPTO1 = crypto1.c des.c desfire_key.c desfire_crypto.c mifaredesfire.c aes SRC_CRC = crc.c crc16.c crc32.c SRC_ICLASS = iclass.c optimized_cipher.c SRC_LEGIC = legicrf.c legicrfsim.c legic_prng.c -SRC_SPIFFS = spiffs.c spiffs_cache.c spiffs_check.c spiffs_gc.c spiffs_nucleus.c spiffs_hydrogen.c + # SRC_BEE = bee.c # RDV40 related hardware support ifneq (,$(findstring WITH_FLASH,$(APP_CFLAGS))) SRC_FLASH = flashmem.c + SRC_SPIFFS = spiffs.c spiffs_cache.c spiffs_check.c spiffs_gc.c spiffs_nucleus.c spiffs_hydrogen.c else SRC_FLASH = + SRC_SPIFFS = endif ifneq (,$(findstring WITH_SMARTCARD,$(APP_CFLAGS)))