esp_common: move stack check

This commit is contained in:
Renz Bagaporo
2021-01-26 11:31:41 +08:00
parent 5a56f794ec
commit 883aba20be
4 changed files with 45 additions and 14 deletions

View File

@@ -4,10 +4,6 @@
COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_SRCDIRS := src
ifndef CONFIG_IDF_ENV_FPGA
COMPONENT_OBJEXCLUDE += src/fpga_overrides.o
endif
# disable stack protection in files which are involved in initialization of that feature
src/stack_check.o: CFLAGS := $(filter-out -fstack-protector%, $(CFLAGS))
endif