From 2e3c42775a402749e790474643cb9f776561264d Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Mon, 20 Apr 2020 11:50:02 +1000 Subject: unix: Add btstack to the unix submodules list. But only when bluetooth is enabled, i.e. if building the dev or coverage variants, and we have libusb available. Update travis to match, i.e. specify the variant when doing `make submodules`. --- extmod/btstack/btstack.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extmod/btstack/btstack.mk') diff --git a/extmod/btstack/btstack.mk b/extmod/btstack/btstack.mk index fe3a05272..dd96e6337 100644 --- a/extmod/btstack/btstack.mk +++ b/extmod/btstack/btstack.mk @@ -14,6 +14,8 @@ CFLAGS_MOD += -DMICROPY_BLUETOOTH_BTSTACK=1 BTSTACK_DIR = $(TOP)/lib/btstack +ifneq ($(wildcard $(BTSTACK_DIR)/src),) + include $(BTSTACK_DIR)/src/Makefile.inc include $(BTSTACK_DIR)/src/ble/Makefile.inc @@ -52,3 +54,4 @@ endif $(BUILD)/lib/btstack/src/%.o: CFLAGS += $(BTSTACK_WARNING_CFLAGS) endif +endif -- cgit v1.2.3