aboutsummaryrefslogtreecommitdiff
path: root/ports/unix
diff options
context:
space:
mode:
authorJim Mussared2020-04-20 11:50:02 +1000
committerDamien George2020-04-29 16:54:12 +1000
commit2e3c42775a402749e790474643cb9f776561264d (patch)
tree245fc4e827cac66c08991e24714d70ce37f66cb9 /ports/unix
parentebfd9ff2e6b40d36439a6b58bf3774df77750c02 (diff)
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`.
Diffstat (limited to 'ports/unix')
-rw-r--r--ports/unix/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile
index 3e095a8d7..d9e77c26c 100644
--- a/ports/unix/Makefile
+++ b/ports/unix/Makefile
@@ -31,7 +31,7 @@ UNAME_S := $(shell uname -s)
# include py core make definitions
include $(TOP)/py/py.mk
-GIT_SUBMODULES = lib/axtls lib/berkeley-db-1.xx lib/libffi
+GIT_SUBMODULES += lib/axtls lib/berkeley-db-1.xx lib/libffi
INC += -I.
INC += -I$(TOP)
@@ -146,6 +146,8 @@ MICROPY_BLUETOOTH_BTSTACK ?= 1
MICROPY_BLUETOOTH_BTSTACK_USB ?= 1
ifeq ($(MICROPY_BLUETOOTH_BTSTACK),1)
+GIT_SUBMODULES += lib/btstack
+
include $(TOP)/extmod/btstack/btstack.mk
endif