Rename and add multiple kconfig compiler options. New compiler options COMPILER_OPTIMIZATION_PERF and COMPILER_OPTIMIZATION_NONE have been added. Optimize "Debug" and "Release" options to "Default" and "Size" respectively. This commit also does the following: - The COMPILER_OPTIMIZATION_PERF option introduced multiple bug. This commit fixes those bugs. - build.yml also updated to test for the new optimization options.
8 lines
237 B
Makefile
8 lines
237 B
Makefile
COMPONENT_ADD_INCLUDEDIRS := include
|
|
COMPONENT_PRIV_INCLUDEDIRS := . spiffs/src
|
|
COMPONENT_SRCDIRS := . spiffs/src
|
|
|
|
# To avoid warning for strncpy in "spiffs_nucleus.c"
|
|
CPPFLAGS += -Wno-stringop-truncation
|
|
|
|
COMPONENT_SUBMODULES := spiffs
|