blob: 7cbd3ca4f94bea3852ff89a006f726d30da4bef0 [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_failsafe
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_failsafe
17 SECTION:=MTK Properties
18 CATEGORY:=MTK Properties
19 SUBMENU:=Misc
20 TITLE:=mtk failsafe script
21 VERSION:=$(PKG_RELEASE)-$(REVISION)
22endef
23
24define Package/mtk_failsafe/description
25 mtk init script for failsafe mode
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_failsafe/install
38 $(INSTALL_DIR) $(1)/sbin
39 $(INSTALL_BIN) ./files/mtk_failsafe.sh $(1)/sbin/mtk_failsafe.sh
40endef
41
42$(eval $(call BuildPackage,mtk_failsafe))
43