create Arduino release in /tmp/

This commit is contained in:
Matthias Ringwald 2015-08-12 14:19:11 +02:00
parent 80fa125bee
commit a0a1ef13f8

View File

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