|
@@ -134,8 +134,10 @@ define Package/coova-chilli/install
|
134
|
134
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/chilli* $(1)/usr/sbin/
|
135
|
135
|
$(INSTALL_DIR) $(1)/usr/lib/
|
136
|
136
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/
|
137
|
|
- $(INSTALL_DIR) $(1)/usr/lib/iptables
|
138
|
|
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib*.so $(1)/usr/lib/iptables/
|
|
137
|
+ $(if $(CONFIG_PACKAGE_kmod-ipt-coova), \
|
|
138
|
+ $(INSTALL_DIR) $(1)/usr/lib/iptables; \
|
|
139
|
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/iptables/lib*.so $(1)/usr/lib/iptables/ \
|
|
140
|
+ )
|
139
|
141
|
$(INSTALL_DIR) $(1)/etc/init.d
|
140
|
142
|
$(INSTALL_BIN) files/chilli.init $(1)/etc/init.d/chilli
|
141
|
143
|
$(INSTALL_DIR) $(1)/etc/config
|