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