developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | # |
| 2 | # hua.shao@mediatek.com |
| 3 | # |
| 4 | # MTK Property Software. |
| 5 | # |
| 6 | |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | PKG_NAME:=mii_mgr |
| 10 | PKG_RELEASE:=1 |
| 11 | |
| 12 | PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME) |
| 13 | |
| 14 | include $(INCLUDE_DIR)/package.mk |
| 15 | include $(INCLUDE_DIR)/kernel.mk |
| 16 | |
| 17 | define Package/mii_mgr |
| 18 | SECTION:=MTK Properties |
| 19 | CATEGORY:=MTK Properties |
| 20 | TITLE:=mii_mgr/mii_mgr_cl45 |
| 21 | SUBMENU:=Applications |
| 22 | endef |
| 23 | |
| 24 | define Package/mii_mgr/description |
| 25 | An mdio r/w phy regs program. |
| 26 | endef |
| 27 | |
| 28 | define Package/mii_mgr/install |
| 29 | $(INSTALL_DIR) $(1)/usr/sbin |
| 30 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/mii_mgr $(1)/usr/sbin |
| 31 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/mii_mgr $(1)/usr/sbin/mii_mgr_cl45 |
| 32 | endef |
| 33 | |
| 34 | |
| 35 | $(eval $(call BuildPackage,mii_mgr)) |
| 36 | |