mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-26 11:16:39 +04:00
kamailio: add descriptions via BuildKamailioModule
The Makefile currently advertises that descriptions can be added by specifying a string in argument 3 of BuildKamailioModule, but there's actually no mechanism for this. This commit adds the missing pieces. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
@@ -370,6 +370,9 @@ define BuildKamailioModule
|
|||||||
endef
|
endef
|
||||||
define Package/kamailio-mod-$(subst _,-,$(1))/conffiles
|
define Package/kamailio-mod-$(subst _,-,$(1))/conffiles
|
||||||
$(subst $(space),$(newline),$(foreach c,$(6),/etc/kamailio/$(c)))
|
$(subst $(space),$(newline),$(foreach c,$(6),/etc/kamailio/$(c)))
|
||||||
|
endef
|
||||||
|
define Package/kamailio-mod-$(subst _,-,$(1))/description
|
||||||
|
$(subst \n,$(newline),$(3))
|
||||||
endef
|
endef
|
||||||
define Package/kamailio-mod-$(subst _,-,$(1))/install
|
define Package/kamailio-mod-$(subst _,-,$(1))/install
|
||||||
$(call Package/kamailio/install/module,$$(1),$(1))
|
$(call Package/kamailio/install/module,$$(1),$(1))
|
||||||
|
|||||||
Reference in New Issue
Block a user