diff --git a/platforms/arduino/Makefile b/platforms/arduino/Makefile index 9c7e14b86..88774d4ce 100644 --- a/platforms/arduino/Makefile +++ b/platforms/arduino/Makefile @@ -6,7 +6,7 @@ DIR=. BTSTACK_ROOT=${DIR}/../.. DUMMY=$(shell ) VERSION=`sed -n -e 's/^.*BTSTACK_VERSION \"\(.*\)\"/\1/p' ${BTSTACK_ROOT}/include/btstack/version.h` -BTSTACK_PACKAGE=${DIR}/btstack +BTSTACK_PACKAGE=/tmp/btstack ARCHIVE=btstack-arduino-${VERSION}.zip SRC_FILES =btstack_memory.c linked_list.c memory_pool.c run_loop.c run_loop_embedded.c @@ -44,5 +44,5 @@ release: update_version mkdir ${BTSTACK_PACKAGE} cp -r ${PATHS} ${BTSTACK_PACKAGE} rm -f ${ARCHIVE} - zip -r ${ARCHIVE} btstack + zip -r ${ARCHIVE} ${BTSTACK_PACKAGE} cp ${ARCHIVE} btstack-arduino-latest.zip