chan-sccp: add Asterisk 15 variant
Define a variant for Asterisk 15. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
8fc851f0d5
commit
59917a3b12
1 changed files with 15 additions and 0 deletions
|
@ -55,6 +55,13 @@ $(call Package/chan-sccp/Default)
|
||||||
CONFLICTS:=asterisk13-chan-skinny
|
CONFLICTS:=asterisk13-chan-skinny
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/asterisk15-chan-sccp
|
||||||
|
$(call Package/chan-sccp/Default)
|
||||||
|
DEPENDS+= asterisk15
|
||||||
|
VARIANT:=asterisk15
|
||||||
|
CONFLICTS:=asterisk15-chan-skinny
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/description/Default
|
define Package/description/Default
|
||||||
Replacement for the SCCP channel driver (chan_skinny) in Asterisk.
|
Replacement for the SCCP channel driver (chan_skinny) in Asterisk.
|
||||||
Extended features include shared lines, presence / BLF, customizable
|
Extended features include shared lines, presence / BLF, customizable
|
||||||
|
@ -62,6 +69,7 @@ feature buttons and custom device state.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
Package/asterisk13-chan-sccp/description = $(Package/description/Default)
|
Package/asterisk13-chan-sccp/description = $(Package/description/Default)
|
||||||
|
Package/asterisk15-chan-sccp/description = $(Package/description/Default)
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
|
@ -73,6 +81,10 @@ ifeq ($(BUILD_VARIANT),asterisk13)
|
||||||
CONFIGURE_ARGS += --with-asterisk=$(STAGING_DIR)/usr/include/asterisk-13
|
CONFIGURE_ARGS += --with-asterisk=$(STAGING_DIR)/usr/include/asterisk-13
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_VARIANT),asterisk15)
|
||||||
|
CONFIGURE_ARGS += --with-asterisk=$(STAGING_DIR)/usr/include/asterisk-15
|
||||||
|
endif
|
||||||
|
|
||||||
define Package/conffiles/Default
|
define Package/conffiles/Default
|
||||||
/etc/asterisk/sccp.conf
|
/etc/asterisk/sccp.conf
|
||||||
/etc/asterisk/extconfig.conf.sccp_sample
|
/etc/asterisk/extconfig.conf.sccp_sample
|
||||||
|
@ -82,6 +94,7 @@ define Package/conffiles/Default
|
||||||
endef
|
endef
|
||||||
|
|
||||||
Package/asterisk13-chan-sccp/conffiles = $(Package/conffiles/Default)
|
Package/asterisk13-chan-sccp/conffiles = $(Package/conffiles/Default)
|
||||||
|
Package/asterisk15-chan-sccp/conffiles = $(Package/conffiles/Default)
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
|
@ -103,5 +116,7 @@ define Package/Install/Default
|
||||||
endef
|
endef
|
||||||
|
|
||||||
Package/asterisk13-chan-sccp/install = $(Package/Install/Default)
|
Package/asterisk13-chan-sccp/install = $(Package/Install/Default)
|
||||||
|
Package/asterisk15-chan-sccp/install = $(Package/Install/Default)
|
||||||
|
|
||||||
$(eval $(call BuildPackage,asterisk13-chan-sccp))
|
$(eval $(call BuildPackage,asterisk13-chan-sccp))
|
||||||
|
$(eval $(call BuildPackage,asterisk15-chan-sccp))
|
||||||
|
|
Loading…
Reference in a new issue