]> granicus.if.org Git - esp-idf/commitdiff
bt: build unit tests only when CONFIG_BT_ENABLED=1
authorIvan Grokhotkov <ivan@espressif.com>
Mon, 13 Aug 2018 14:38:37 +0000 (17:38 +0300)
committerIvan Grokhotkov <ivan@espressif.com>
Mon, 13 Aug 2018 14:38:37 +0000 (17:38 +0300)
components/bt/test/component.mk

index 5dd172bdb741ac981aca2ac446a56e62733f816a..55e05e4239fd3edaa7b3668cbae69c4674bb8912 100644 (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