summaryrefslogtreecommitdiff
path: root/openwrt/package/bluez-utils/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-26 21:35:01 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-26 21:35:01 +0000
commit6df7acff9abc0043775f2683c877924bd15b857c (patch)
treead9240976968d2cc253913e8ce26dba6094c0e26 /openwrt/package/bluez-utils/Makefile
parent83e7893f56b490836826ff1590af375b8bb7792d (diff)
bluetooth fixes from Tomas Vanek
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1571 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/bluez-utils/Makefile')
-rw-r--r--openwrt/package/bluez-utils/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/openwrt/package/bluez-utils/Makefile b/openwrt/package/bluez-utils/Makefile
index 40ab279803..a31de263c9 100644
--- a/openwrt/package/bluez-utils/Makefile
+++ b/openwrt/package/bluez-utils/Makefile
@@ -67,6 +67,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
+ rm -f $(PKG_INSTALL_DIR)/usr/bin/bluepin
touch $@
$(IPKG_BLUEZ_UTILS):
@@ -75,8 +76,9 @@ $(IPKG_BLUEZ_UTILS):
install -d -m0755 $(IDIR_BLUEZ_UTILS)/usr/sbin
cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/* $(IDIR_BLUEZ_UTILS)/usr/sbin/
install -d -m0755 $(IDIR_BLUEZ_UTILS)/etc/bluetooth
- cp -fp $(PKG_INSTALL_DIR)/../hcid/hcid.conf* $(IDIR_BLUEZ_UTILS)/etc/bluetooth/
- cp -fp $(PKG_INSTALL_DIR)/../rfcomm/rfcomm.conf* $(IDIR_BLUEZ_UTILS)/etc/bluetooth/
+ cp -fp $(PKG_INSTALL_DIR)/../hcid/hcid.conf $(IDIR_BLUEZ_UTILS)/etc/bluetooth/
+ cp -fp $(PKG_INSTALL_DIR)/../rfcomm/rfcomm.conf $(IDIR_BLUEZ_UTILS)/etc/bluetooth/
+ install -m0700 ./files/givepin $(IDIR_BLUEZ_UTILS)/etc/bluetooth/
$(RSTRIP) $(IDIR_BLUEZ_UTILS)
$(IPKG_BUILD) $(IDIR_BLUEZ_UTILS) $(PACKAGE_DIR)