blob: d0f2444ad5b20f2d9f44875adf90bfb12066d125 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001#
2# hua.shao@mediatek.com
3#
4# MTK Property Software.
5#
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=regs
10PKG_RELEASE:=1
11
12PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
13
14include $(INCLUDE_DIR)/package.mk
15include $(INCLUDE_DIR)/kernel.mk
16
17define Package/regs
18 SECTION:=MTK Properties
19 CATEGORY:=MTK Properties
20 TITLE:=an program to read/write from/to a pci device from userspace.
21 SUBMENU:=Applications
22 DEPENDS:=+@KERNEL_DEVMEM
23endef
24
25define Package/regs/description
26 Simple program to read/write from/to a pci device from userspace.
27endef
28
29define Build/Configure
30endef
31
32define Package/regs/install
33 $(INSTALL_DIR) $(1)/usr/bin
34 $(INSTALL_BIN) $(PKG_BUILD_DIR)/regs $(1)/usr/bin
35endef
36
37
38$(eval $(call BuildPackage,regs))
39