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`.
This commit is contained in:
Jim Mussared
2020-04-20 11:50:02 +10:00
committed by Damien George
parent ebfd9ff2e6
commit 2e3c42775a
3 changed files with 13 additions and 7 deletions

View File

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