2013-02-19 19:59:35 +00:00
|
|
|
#!/bin/sh
|
|
|
|
echo "Configure BTstack for use with iOS using the theos build system"
|
|
|
|
|
2013-09-11 18:15:19 +00:00
|
|
|
# get version from svn
|
2014-09-04 19:53:39 +00:00
|
|
|
tools/get_version.sh
|
2013-09-11 18:15:19 +00:00
|
|
|
|
2013-02-19 19:59:35 +00:00
|
|
|
# check if $THEOS is set
|
|
|
|
|
|
|
|
# remove autoconf created files
|
2014-09-04 14:06:00 +00:00
|
|
|
rm -f btstack-config.h config.h layout Makefile src/Makefile example/Makefile ch.ringwald.btstack_*.deb
|
2013-02-19 19:59:35 +00:00
|
|
|
|
|
|
|
# use theos Makefiles
|
2014-09-04 14:01:15 +00:00
|
|
|
cp platforms/ios/btstack-config-iphone.h btstack-config.h
|
|
|
|
cp platforms/ios/Makefile.iphone Makefile
|
|
|
|
cp platforms/ios/src/Makefile.iphone src/Makefile
|
2014-09-23 07:33:46 +00:00
|
|
|
cp platforms/ios/example/Makefile.iphone example/daemon/Makefile
|
2014-09-04 14:01:15 +00:00
|
|
|
ln -s platforms/ios/layout .
|