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:
parent
fa14037e8a
commit
07cbb38db1
1 changed files with 3 additions and 0 deletions
|
@ -370,6 +370,9 @@ define BuildKamailioModule
|
|||
endef
|
||||
define Package/kamailio-mod-$(subst _,-,$(1))/conffiles
|
||||
$(subst $(space),$(newline),$(foreach c,$(6),/etc/kamailio/$(c)))
|
||||
endef
|
||||
define Package/kamailio-mod-$(subst _,-,$(1))/description
|
||||
$(subst \n,$(newline),$(3))
|
||||
endef
|
||||
define Package/kamailio-mod-$(subst _,-,$(1))/install
|
||||
$(call Package/kamailio/install/module,$$(1),$(1))
|
||||
|
|
Loading…
Reference in a new issue