made build a bit more configurable

This commit is contained in:
Peter Andersson
2015-02-28 10:02:04 +01:00
parent be290fd329
commit aab5cbf33d
+6 -3
View File
@@ -1,7 +1,10 @@
spiffs = ../generic/spiffs/src
ifndef niffs
$(warn defaulting path to generic spiffs module, spiffs variable not set)
spiffs = ../generic/spiffs
endif
FLAGS += -DCONFIG_BUILD_SPIFFS
INC += -I${spiffs}
CPATH += ${spiffs}
INC += -I${spiffs}/src
CPATH += ${spiffs}/src
CFILES += spiffs_nucleus.c
CFILES += spiffs_gc.c
CFILES += spiffs_hydrogen.c