mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
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:
committed by
Damien George
parent
ebfd9ff2e6
commit
2e3c42775a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user