evoice: add tones.ini for Mediatek platform

This commit is contained in:
Grzegorz Bielski 2022-05-26 14:09:53 +02:00
parent 36ef73caaa
commit 497d17dafc
2 changed files with 1567 additions and 0 deletions

View file

@ -56,6 +56,7 @@ endif
MY_TEMP_IOPSYS_DIR:=/media/grbi/home/grbi/voip/iopsysWrtEco
IDIR = $(STAGING_DIR)/usr/include
TONES_INI_REQUIRED=
ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TARGET_PLATFORM=BROADCOM
@ -66,6 +67,7 @@ ifeq ($(CONFIG_TARGET_iopsys_brcm63xx_arm),y)
TRG=SVrgBcmFxs
else ifeq ($(CONFIG_TARGET_iopsys_econet),y)
TARGET_PLATFORM=ECONET
TONES_INI_REQUIRED=y
CC_FLAGS = -I$(IDIR) -I$(MY_TEMP_IOPSYS_DIR)/voip_lib
_XFLAGS=-L$(MY_TEMP_IOPSYS_DIR)/voip_lib/voip
TRG=SVrgMtekOwrt
@ -93,6 +95,7 @@ endef
define Package/evoice/install
$(CP) ./files/* $(1)/
$(if $(TONES_INI_REQUIRED),,$(RM) $(1)/etc/evoice/tones.ini)
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_DIR) $(1)/usr/lib/bbfdm
$(INSTALL_BIN) $(PKG_BUILD_DIR)/_bin/a_openwrt/evoice $(1)/usr/sbin/

File diff suppressed because it is too large Load diff