Corrections to Makefile install package representing changes in
version 1.1.4 from Josua changing from old hotplug style to udev style
including usb_modeswitch_dispatcher in tcl and wrapper in sh.
Assumes tcl installed.

Signed-off-by: Kelly Hogan <[email protected]>

Index: Makefile
===================================================================
--- Makefile    (revision 22987)
+++ Makefile    (working copy)
@@ -38,10 +38,13 @@
 endef

 define Package/usb-modeswitch/install
-       $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/usb_modeswitch-OpenWrt
$(1)/usr/bin/usb_modeswitch
-       $(INSTALL_DIR) $(1)/etc/hotplug.d/usb
-       $(INSTALL_DATA) ./files/modeswitch.hotplug
$(1)/etc/hotplug.d/usb/20-modeswitch
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/usb_modeswitch-OpenWrt
$(1)/usr/sbin/usb_modeswitch
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/usb_modeswitch.tcl
$(1)/usr/sbin/usb_modeswitch_dispatcher
+       $(INSTALL_DIR) $(1)/lib/udev
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/usb_modeswitch.sh 
$(1)/lib/udev/usb_modeswitch
+       $(INSTALL_DIR) $(1)/etc
+       $(INSTALL_DATA) $(PKG_BUILD_DIR)/usb_modeswitch.conf
$(1)/etc/usb_modeswitch.conf
 endef

 $(eval $(call BuildPackage,usb-modeswitch))
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to