Files
dongheng c326ec606a feat(esp_common): add stack check function for gcc
Enable this function by "COMPILER_STACK_CHECK_MODE" of "Kconfig".
2019-08-16 13:41:34 +08:00

10 lines
251 B
Makefile

#
# Component Makefile
#
COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_SRCDIRS := src
# disable stack protection in files which are involved in initialization of that feature
src/stack_check.o: CFLAGS := $(filter-out -fstack-protector%, $(CFLAGS))