blob: 50ff42f944dd31586588eff1502231287212f506 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001#
developer298a7432022-11-16 17:08:16 +08002# SPDX-License-Identifier: GPL-2.0
developerfd40db22021-04-29 10:08:25 +08003#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=mii_mgr
8PKG_RELEASE:=1
9
10PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
11
12include $(INCLUDE_DIR)/package.mk
13include $(INCLUDE_DIR)/kernel.mk
14
15define Package/mii_mgr
16 SECTION:=MTK Properties
17 CATEGORY:=MTK Properties
18 TITLE:=mii_mgr/mii_mgr_cl45
19 SUBMENU:=Applications
20endef
21
22define Package/mii_mgr/description
23 An mdio r/w phy regs program.
24endef
25
26define 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
30endef
31
32
33$(eval $(call BuildPackage,mii_mgr))
34