blob: 239b60c2afbe03a6c3f8fb934ec13ba9b1a01398 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001#
developer477578e2022-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:=regs
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/regs
16 SECTION:=MTK Properties
17 CATEGORY:=MTK Properties
18 TITLE:=an program to read/write from/to a pci device from userspace.
19 SUBMENU:=Applications
20 DEPENDS:=+@KERNEL_DEVMEM
21endef
22
23define Package/regs/description
24 Simple program to read/write from/to a pci device from userspace.
25endef
26
27define Build/Configure
28endef
29
30define Package/regs/install
31 $(INSTALL_DIR) $(1)/usr/bin
32 $(INSTALL_BIN) $(PKG_BUILD_DIR)/regs $(1)/usr/bin
33endef
34
35
36$(eval $(call BuildPackage,regs))
37