mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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
|
||||
|
||||
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
|
||||
rm -rf `find ./resources/lib/ -name "*.py"`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user