Merge branch 'bugfix/ut_bt_build_fix' into 'master'

bt: build unit tests only when CONFIG_BT_ENABLED=1

See merge request idf/esp-idf!3000
This commit is contained in:
Jiang Jiang Jian
2018-08-16 19:49:14 +08:00

View File

@@ -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