mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
service.openelec.settings: make bluetooth support optional
This commit is contained in:
parent
d94ad1f424
commit
4461976381
@ -23,6 +23,10 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
# bluetooth is optional
|
||||||
|
if [ ! "$BLUETOOTH_SUPPORT" = yes ]; then
|
||||||
|
rm -f resources/lib/modules/bluetooth.py
|
||||||
|
fi
|
||||||
python -Wi -t -B $ROOT/$TOOLCHAIN/lib/python2.7/compileall.py ./resources/lib/ -f
|
python -Wi -t -B $ROOT/$TOOLCHAIN/lib/python2.7/compileall.py ./resources/lib/ -f
|
||||||
rm -rf `find ./resources/lib/ -name "*.py"`
|
rm -rf `find ./resources/lib/ -name "*.py"`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user