build system: add WHOLE_ARCHIVE component property
This component property allows including all component object files into the executable. It is equivalent to wrapping the component library with -Wl,--whole-archive and -Wl,--no-whole-archive flags. Closes https://github.com/espressif/esp-idf/issues/8667
This commit is contained in:
@@ -66,7 +66,7 @@ macro(idf_component_mock)
|
||||
endmacro()
|
||||
|
||||
macro(idf_component_register)
|
||||
set(options)
|
||||
set(options WHOLE_ARCHIVE)
|
||||
set(single_value KCONFIG KCONFIG_PROJBUILD)
|
||||
set(multi_value SRCS SRC_DIRS EXCLUDE_SRCS
|
||||
INCLUDE_DIRS PRIV_INCLUDE_DIRS LDFRAGMENTS REQUIRES
|
||||
|
||||
Reference in New Issue
Block a user