bt: build unit tests only when CONFIG_BT_ENABLED=1
This commit is contained in:
parent
83b8f38484
commit
d6547595d7
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
#Component Makefile
|
||||
#
|
||||
|
||||
ifdef CONFIG_BT_ENABLED
|
||||
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive
|
||||
else
|
||||
COMPONENT_CONFIG_ONLY := 1
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue