blob: ad5316f30f03740607c4c5e5ea01aa67412eb6f2 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001#
2# MTK-factory read and write
3#
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=mtk_factory_rw
8PKG_VERSION:=1
9PKG_RELEASE:=1
10
11PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
12PKG_CONFIG_DEPENDS:=
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/mtk_factory_rw
17 SECTION:=MTK Properties
18 CATEGORY:=MTK Properties
19 SUBMENU:=Misc
20 TITLE:=mtk factory read and write
21 VERSION:=$(PKG_RELEASE)-$(REVISION)
22endef
23
24define Package/mtk_factory_rw/description
25 mtk factory's data read and write
26endef
27
28define Build/Prepare
29 mkdir -p $(PKG_BUILD_DIR)
30endef
31
32define Build/Compile/Default
33endef
34
35Build/Compile = $(Build/Compile/Default)
36
37define Package/mtk_factory_rw/install
38 $(INSTALL_DIR) $(1)/sbin
39 $(INSTALL_BIN) ./files/mtk_factory_rw.sh $(1)/sbin/mtk_factory_rw.sh
40endef
41
42$(eval $(call BuildPackage,mtk_factory_rw))
43