From 8076b17da7d65b5721d18b69e2dbd0331ce92b51 Mon Sep 17 00:00:00 2001 From: kueller Date: Mon, 1 Feb 2010 18:10:36 +0000 Subject: [PATCH] init file wird wieder reinkopiert. hid2hci wird nun auch generiert git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5302 504e572c-2e33-0410-9681-be2bf7408885 --- SysBuild/tools/bluez-utils | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/SysBuild/tools/bluez-utils b/SysBuild/tools/bluez-utils index af38068..a2f383b 100644 --- a/SysBuild/tools/bluez-utils +++ b/SysBuild/tools/bluez-utils @@ -85,6 +85,7 @@ mk32() { --enable-all \ --sysconfdir=/etc/sysconfig \ --libexecdir=/usr/sbin \ + --enable-hid2hci \ --prefix=/usr make -j $NUMCPU make -j $NUMCPU DESTDIR=$TMPROOT install @@ -105,12 +106,17 @@ mk() { --enable-all \ --sysconfdir=/etc/sysconfig \ --libexecdir=/usr/sbin \ + --enable-hid2hci \ $ADDOPTIONS \ --prefix=/usr make -j $NUMCPU make -j $NUMCPU DESTDIR=$TMPROOT install cd ../bluez-utils* rm -r ../build-bluez + if [ ! -d $TMPROOT/etc/init.d ]; then + mkdir $TMPROOT/etc/init.d + cp scripts/bluetooth.init $TMPROOT/etc/init.d + fi } postmk() { @@ -118,18 +124,14 @@ postmk() { mv init.d ../ mv udev ../ cd - - cd $TMPROOT/etc/init.d - mv bluetooth{,.orig} - sed -e "s/SDPD_ENABLE=false/SDPD_ENABLE=true/" bluetooth.orig |\ - sed -e "s/HIDD_ENABLE=false/HIDD_ENABLE=true/" |\ - sed -e "s/HID2HCI_ENABLE=false/HID2HCI_ENABLE=true/" |\ - sed -e "s/RFCOMM_ENABLE=false/RFCOMM_ENABLE=true/" |\ - sed -e "s/DUND_ENABLE=false/DUND_ENABLE=true/" |\ - sed -e "s/PAND_ENABLE=false/PAND_ENABLE=true/" |\ - sed -e "s%/etc/bluetooth%/etc/sysconfig/bluetooth%" >bluetooth - rm bluetooth.orig - chmod 755 bluetooth - cd - + sed -i "s/SDPD_ENABLE=false/SDPD_ENABLE=true/" $TMPROOT/etc/init.d/bluetooth + sed -i "s/HIDD_ENABLE=false/HIDD_ENABLE=true/" $TMPROOT/etc/init.d/bluetooth + sed -i "s/HID2HCI_ENABLE=false/HID2HCI_ENABLE=true/" $TMPROOT/etc/init.d/bluetooth + sed -i "s/RFCOMM_ENABLE=false/RFCOMM_ENABLE=true/" $TMPROOT/etc/init.d/bluetooth + sed -i "s/DUND_ENABLE=false/DUND_ENABLE=true/" $TMPROOT/etc/init.d/bluetooth + sed -i "s/PAND_ENABLE=false/PAND_ENABLE=true/" $TMPROOT/etc/init.d/bluetooth + sed -i "s%/etc/bluetooth%/etc/sysconfig/bluetooth%" $TMPROOT/etc/init.d/bluetooth + chmod 755 $TMPROOT/etc/init.d/bluetooth cd $TMPROOT mv usr/sbin/udev/* usr/sbin/ rm -r usr/sbin/udev