bluez.guncellendi

This commit is contained in:
milisbir 2017-11-17 04:33:54 +02:00
parent e4c1ee545a
commit d25a23b23d
3 changed files with 62 additions and 58 deletions

View file

@ -0,0 +1,3 @@
# use "reset=1" as default, since it should be safe for recent devices and
# solves all kind of problems.
options btusb reset=1

View file

@ -5,19 +5,20 @@
isim=bluez isim=bluez
surum=5.47 surum=5.47
devir=1 devir=2
kaynak=(http://www.kernel.org/pub/linux/bluetooth/$isim-$surum.tar.xz kaynak=(http://www.kernel.org/pub/linux/bluetooth/$isim-$surum.tar.xz
http://www.linuxfromscratch.org/patches/blfs/svn/bluez-$surum-obexd_without_systemd-1.patch) http://www.linuxfromscratch.org/patches/blfs/svn/bluez-$surum-obexd_without_systemd-1.patch
derle() { bluetooth.modprobe)
derle() {
cd $isim-$surum cd $isim-$surum
patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
--localstatedir=/var \ --localstatedir=/var \
--libexecdir=/lib \ --libexecdir=/usr/lib \
--disable-systemd \ --disable-systemd \
--enable-gstreamer \ --enable-gstreamer \
--enable-alsa \ --enable-alsa \
@ -31,40 +32,40 @@ patch -Np1 -i ../$isim-$surum-obexd_without_systemd-1.patch
--enable-dund \ --enable-dund \
--enable-cups \ --enable-cups \
--disable-test \ --disable-test \
--enable-sixaxis \
--enable-experimental \
--enable-library \ --enable-library \
--without-systemdunitdir --without-systemdunitdir
make make
make DESTDIR=$PKG install make DESTDIR=${PKG} \
install-libexecPROGRAMS \
install-dbussessionbusDATA \
install-dbussystembusDATA \
install-dbusDATA
install -v -dm755 $PKG/{etc/bluetooth,usr/sbin} make DESTDIR=${PKG} install-binPROGRAMS
ln -svf /lib/bluetooth/bluetoothd $PKG/usr/sbin/ make DESTDIR=${PKG} install-cupsPROGRAMS
make DESTDIR=${PKG} \
install-udevPROGRAMS \
install-rulesDATA
cat > $PKG/etc/bluetooth/rfcomm.conf << "EOF" make DESTDIR=${PKG} \
# rfcomm.conf install-pluginLTLIBRARIES
# 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
install -dm755 ${PKG}/etc/bluetooth
install -Dm644 ${SRC}/${isim}-${surum}/src/main.conf ${PKG}/etc/bluetooth/main.conf
# End of rfcomm.conf install -dm755 ${PKG}/etc/modprobe.d
EOF install -Dm644 ${SRC}/bluetooth.modprobe ${PKG}/etc/modprobe.d/bluetooth-usb.conf
cat > $PKG/etc/bluetooth/uart.conf << "EOF" for files in `find tools/ -type f -perm -755`; do
#uart.conf filename=$(basename $files)
# Attach serial devices via UART HCI to BlueZ stack install -Dm755 ${SRC}/${isim}-${surum}/tools/$filename ${PKG}/usr/bin/$filename
# Use one line per device done
# See the hciattach man page for options
# End of uart.conf
EOF
install -m644 profiles/network/network.conf \
profiles/input/input.conf \
$PKG/etc/bluetooth
rm -rf ${PKG}/lib/udev/hid2hci
cd /sources/milis.git/ayarlar/servisler cd /sources/milis.git/ayarlar/servisler
make DESTDIR=$PKG kur-bluetooth make DESTDIR=$PKG kur-bluetooth
} }