bootloader_support: exclude bootloader_init.c when building app

Depending on link order of libraries, bootloader implementation of
__assert_func could be linked instead of the one provided by newlib.
This commit is contained in:
Ivan Grokhotkov
2018-09-30 12:27:06 +08:00
committed by bot
parent 98b42a8b71
commit f694d057be
2 changed files with 5 additions and 1 deletions

View File

@@ -9,6 +9,10 @@ endif
COMPONENT_SRCDIRS := src
ifndef IS_BOOTLOADER_BUILD
COMPONENT_OBJEXCLUDE := src/bootloader_init.o
endif
#
# Secure boot signing key support
#