ipc: prevent code getting pulled in for unicore configuration

This commit is contained in:
Mahavir Jain
2019-08-15 12:35:59 +05:30
parent f68cd62abd
commit ebe53416ad
7 changed files with 47 additions and 18 deletions
+5
View File
@@ -5,5 +5,10 @@
COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_SRCDIRS := src
# IPC framework is not applicable if freertos unicore config is selected
ifdef CONFIG_FREERTOS_UNICORE
COMPONENT_OBJEXCLUDE := src/ipc.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))