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:=regs |
| 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/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 |
| 23 | endef |
| 24 | |
| 25 | define Package/regs/description |
| 26 | Simple program to read/write from/to a pci device from userspace. |
| 27 | endef |
| 28 | |
| 29 | define Build/Configure |
| 30 | endef |
| 31 | |
| 32 | define Package/regs/install |
| 33 | $(INSTALL_DIR) $(1)/usr/bin |
| 34 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/regs $(1)/usr/bin |
| 35 | endef |
| 36 | |
| 37 | |
| 38 | $(eval $(call BuildPackage,regs)) |
| 39 | |