summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-09-16 17:28:10 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-09-16 17:28:10 (GMT)
commit21e360a48f963eeddc86dd913b85836734c454c4 (patch)
treef5224aa315b1d215974dc5737ac807f21509d80c /openwrt/rhctl/Makefile
parentc5ecd44e7073027eb8ce6ec0ec5ff8456be77552 (diff)
updated openwrt package
Diffstat (limited to 'openwrt/rhctl/Makefile')
-rw-r--r--openwrt/rhctl/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/openwrt/rhctl/Makefile b/openwrt/rhctl/Makefile
index 6e9cf8a..3e046d6 100644
--- a/openwrt/rhctl/Makefile
+++ b/openwrt/rhctl/Makefile
@@ -1,4 +1,4 @@
-#
+#
# Copyright (C) 2008 Christian Pointner,
# <equinox@helsinki.at>
#
@@ -50,7 +50,7 @@ endef
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
+ mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
@@ -80,13 +80,12 @@ define Package/rhctl/install
$(INSTALL_DIR) $(1)/usr/share/rhctl
$(INSTALL_DATA) $(PKG_BUILD_DIR)/*.lua $(1)/usr/share/rhctl/
$(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_BIN) ./files/udev.init $(1)/etc/init.d/udev
$(INSTALL_BIN) ./files/switchctl.init $(1)/etc/init.d/switchctl
$(INSTALL_BIN) ./files/serialclient.init $(1)/etc/init.d/serialclient
$(INSTALL_BIN) ./files/heartbeatclient.init $(1)/etc/init.d/heartbeatclient
$(INSTALL_BIN) ./files/luaclient.init $(1)/etc/init.d/luaclient
- $(INSTALL_DIR) $(1)/etc/udev/rules.d
- $(INSTALL_DATA) ./files/udev.rules $(1)/etc/udev/rules.d/50-rhctl.rules
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/usb
+ $(INSTALL_DATA) ./files/rhctl-usbserial.hotplug $(1)/etc/hotplug.d/usb/20-rhctl-usbserial
endef
$(eval $(call BuildPackage,rhctl))