1 include $(TOPDIR)/rules.mk
5 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
7 include $(INCLUDE_DIR)/package.mk
9 define Package/hmcfgusb
13 TITLE:=HM-CFG-USB utilities
17 mkdir -p $(PKG_BUILD_DIR)
18 $(CP) ./src/* $(PKG_BUILD_DIR)/
21 define 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/
27 $(eval $(call BuildPackage,hmcfgusb))