From 3369daabb636fe53a4e8a7e802b668ef9582a273 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 19 Oct 2016 16:44:20 +0200 Subject: [PATCH] arduino: add custom BTstack.h instead of src/btstack.h to dist --- port/arduino/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/arduino/Makefile b/port/arduino/Makefile index e8d902231..a70a27c27 100644 --- a/port/arduino/Makefile +++ b/port/arduino/Makefile @@ -17,7 +17,7 @@ PORT_FILES = btstack_config.h bsp_arduino_em9301.cpp BTstack.cpp BTstack.h EMBEDDED_FILES = btstack_run_loop_embedded.c hci_transport_h4_embedded.c btstack_uart_block_embedded.c PATHS = $(addprefix ${BTSTACK_ROOT}/src/, ${SRC_FILES}) -PATHS += $(wildcard ${BTSTACK_ROOT}/src/*.h) +PATHS += $(filter-out ${BTSTACK_ROOT}/src/btstack.h, $(wildcard ${BTSTACK_ROOT}/src/*.h)) PATHS += $(addprefix ${BTSTACK_ROOT}/src/ble/, ${BLE_FILES}) PATHS += $(wildcard ${BTSTACK_ROOT}/src/ble/*.h) PATHS += $(addprefix ${BTSTACK_ROOT}/platform/embedded/, ${EMBEDDED_FILES})