mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
17 lines
555 B
Bash
Executable File
17 lines
555 B
Bash
Executable File
#!/bin/sh
|
|
echo "Configure BTstack for use with iOS using the theos build system"
|
|
|
|
# get version from svn
|
|
tools/get_version.sh
|
|
|
|
# check if $THEOS is set
|
|
|
|
# remove autoconf created files
|
|
rm -f btstack-config.h config.h layout Makefile src/Makefile example/Makefile ch.ringwald.btstack_*.deb
|
|
|
|
# use theos Makefiles
|
|
cp platforms/ios/btstack-config-iphone.h btstack-config.h
|
|
cp platforms/ios/Makefile.iphone Makefile
|
|
cp platforms/ios/src/Makefile.iphone src/Makefile
|
|
cp platforms/ios/example/Makefile.iphone example/daemon/Makefile
|
|
ln -s platforms/ios/layout . |