/ components / bt / test / component.mk
component.mk
1  ifdef CONFIG_BT_ENABLED
2  COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive
3  else
4  COMPONENT_CONFIG_ONLY := 1
5  endif