build system: Use component.mk for all components, refactor bootloader build

For config-only components, component.mk should now contain "COMPONENT_CONFIG_ONLY := 1"

Also refactored some of the generation of linker paths, library list. This required cleaning up the way the bootloader
project works, it's now mostly independent from the parent.
This commit is contained in:
Angus Gratton
2017-07-19 09:10:48 +10:00
committed by Angus Gratton
parent 5492ba759a
commit d664e32394
23 changed files with 138 additions and 77 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# Component Makefile
#
COMPONENT_ADD_LDFLAGS = -l$(COMPONENT_NAME) -Wl,--undefined=uxTopUsedPriority
COMPONENT_ADD_LDFLAGS += -Wl,--undefined=uxTopUsedPriority
COMPONENT_ADD_INCLUDEDIRS := include
COMPONENT_PRIV_INCLUDEDIRS := include/freertos