tooL/clean_tree: deletes .o from source folders

This commit is contained in:
Matthias Ringwald 2017-08-07 16:41:55 +02:00
parent d33566fee5
commit 1136e58116

8
tool/clean_tree.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
DIR=`dirname $0`
BTSTACK_ROOT=$DIR/../
SRC_FOLDERS="src src/classic src/ble src/ble/gatt-service 3rd-party/bluedroid/encoder/srce 3rd-party/bluedroid/decoder/srce 3rd-party/hxcmod-player 3rd-party/hxcmod-player/mod"
for folder in $SRC_FOLDERS
do
rm -f $BTSTACK_ROOT/$folder/*.o
done