55 lines
1.7 KiB
Makefile
55 lines
1.7 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
include $(TINA_BUILD_TOP)/package/netease/submodules/Makefile.common.submodule
|
|
|
|
# Name and release number of this package
|
|
PKG_NAME:=NeteaseInitScript
|
|
PKG_VERSION:=1
|
|
|
|
PKG_BUILD_DIR:=$(COMPILE_DIR)/$(PKG_NAME)
|
|
|
|
include $(BUILD_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=utils
|
|
CATEGORY:=Netease
|
|
TITLE:=Netease init script
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
Netease app start up scripts!
|
|
endef
|
|
|
|
define Build/Prepare
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_DIR) $(1)/usr/share/golang
|
|
$(INSTALL_DIR) $(1)/usr/share/golang/mcu
|
|
$(INSTALL_DIR) $(1)/etc/ssl/certs
|
|
|
|
$(INSTALL_BIN) ./common/backuplocalfiles.sh $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/netease.init $(1)/etc/init.d/netease_services
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteasewifi.init $(1)/etc/init.d/netease_wifi_service
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteasevoice.init $(1)/etc/init.d/netease_voice_service
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteaseplayer.init $(1)/etc/init.d/netease_player_service
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteasemanufacture_cc.init $(1)/etc/init.d/netease_cc_manufacture_service
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteasemanufacture_mcu.init $(1)/etc/init.d/netease_mcu_manufacture_service
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteasemanufacture_rf.init $(1)/etc/init.d/netease_rf_manufacture_service
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteasecc.init $(1)/etc/init.d/netease_cc_service
|
|
$(INSTALL_BIN) ./$(HARDWARE_ALIAS)/neteasebt.init $(1)/etc/init.d/netease_bt_service
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|