]> git.zerfleddert.de Git - hmcfgusb/blame_incremental - Makefile.OpenWRT
add OTA support for culfw-based devices
[hmcfgusb] / Makefile.OpenWRT
... / ...
CommitLineData
1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=hmcfgusb
4PKG_RELEASE:=1
5PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
6
7include $(INCLUDE_DIR)/package.mk
8
9define Package/hmcfgusb
10 SECTION:=utils
11 CATEGORY:=Utilities
12 DEPENDS:=+libusb-1.0
13 TITLE:=HM-CFG-USB utilities
14endef
15
16define Build/Prepare
17 mkdir -p $(PKG_BUILD_DIR)
18 $(CP) ./src/* $(PKG_BUILD_DIR)/
19endef
20
21define Package/hmcfgusb/install
22 $(INSTALL_DIR) $(1)/usr/bin/
23 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hmland $(1)/usr/bin/
24 $(INSTALL_BIN) $(PKG_BUILD_DIR)/hmsniff $(1)/usr/bin/
25 $(INSTALL_DIR) $(1)/etc/hotplug.d/usb/
26 $(INSTALL_BIN) $(PKG_BUILD_DIR)/20-hmlan.OpenWRT $(1)/etc/hotplug.d/usb/20-hmlan
27endef
28
29$(eval $(call BuildPackage,hmcfgusb))
Impressum, Datenschutz