tce-load -i compiletc dbus-dev libical3-dev readline-dev udev-dev alsa-dev wget https://www.kernel.org/pub/linux/bluetooth/bluez-5.72.tar.xz [bluez-5.74 Requested 'libudev >= 196'] cd bluez-5.72 CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --libexecdir=/usr/local/lib --disable-systemd --enable-library --disable-manpages --enable-deprecated --enable-midi --enable-hid2hci find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [2m 40.43s] sudo make install sudo install -dm755 /usr/local/etc/bluetooth sudo install -m644 src/main.conf /usr/local/etc/bluetooth/main.conf sudo install -m644 profiles/input/input.conf /usr/local/etc/bluetooth/input.conf sudo install -m644 profiles/network/network.conf /usr/local/etc/bluetooth/network.conf cat > /etc/bluetooth/rfcomm.conf << "EOF" # Start rfcomm.conf # Set up the RFCOMM configuration of the Bluetooth subsystem in the Linux kernel. # Use one line per command # See the rfcomm man page for options # End of rfcomm.conf EOF cat > /etc/bluetooth/uart.conf << "EOF" # Start uart.conf # Attach serial devices via UART HCI to BlueZ stack # Use one line per device # See the hciattach man page for options # End of uart.conf EOF