Bladeren bron

Merge pull request #783 from tru7/patch-1

knxd: fix path in Makefile and some cleanups
Steven Barth 10 jaren geleden
bovenliggende
commit
9ec167918d
1 gewijzigde bestanden met toevoegingen van 6 en 8 verwijderingen
  1. 6
    8
      net/knxd/Makefile

+ 6
- 8
net/knxd/Makefile Bestand weergeven

@@ -41,13 +41,15 @@ define Package/knxd
41 41
   URL:=https://github.com/Makki1/knxd
42 42
   DEPENDS:=pthsem libusb-1.0
43 43
 endef
44
-# use this if you want to support USB
45
-# DEPENDS:=pthsem libusb-1.0
46 44
 
47 45
 define Package/knxd/description
48 46
 EIB KNX Daemon
49 47
 endef
50 48
 
49
+define Package/knxd/conffiles
50
+/etc/config/knxd
51
+endef
52
+
51 53
 define Package/knxd-tools
52 54
   SECTION:=net
53 55
   CATEGORY:=Network
@@ -59,11 +61,11 @@ endef
59 61
 define Package/knxd-tools/description
60 62
 EIB KNX Tools
61 63
 endef
64
+
62 65
 define Build/Prepare
63 66
 	$(call Build/Prepare/Default)
64 67
 endef
65 68
 
66
-
67 69
 define Build/Configure
68 70
 	$(call Build/Configure/Default,\
69 71
 		--disable-ft12 \
@@ -87,10 +89,6 @@ define Build/Compile
87 89
 		CPPFLAGS="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include"
88 90
 endef
89 91
 
90
-define Package/knxd/conffiles
91
-  /etc/config/knxd
92
-endef
93
-
94 92
 define Package/knxd/install
95 93
 	$(INSTALL_DIR) $(1)/usr/bin
96 94
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/server/knxd $(1)/usr/bin/
@@ -98,7 +96,7 @@ define Package/knxd/install
98 96
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/bcu/bcuread $(1)/usr/bin/
99 97
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/eibnetsearch $(1)/usr/bin/
100 98
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/eibnetdescribe $(1)/usr/bin/
101
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/eibnet/findknxusb $(1)/usr/bin/
99
+	$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/usb/findknxusb $(1)/usr/bin/
102 100
 	$(INSTALL_DIR) $(1)/etc/init.d
103 101
 	$(INSTALL_BIN) ./files/knxd.init $(1)/etc/init.d/knxd
104 102
 	$(INSTALL_DIR) $(1)/etc/config