From: Sebastian Kemper Date: Sun, 16 Oct 2022 15:09:21 +0000 (+0200) Subject: kamailio: add descriptions via BuildKamailioModule X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=07cbb38db1cb1759e257a4c2f1b29d20573901be;p=feed%2Ftelephony.git 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 --- diff --git a/net/kamailio/Makefile b/net/kamailio/Makefile index 69b45f3..509fb82 100644 --- a/net/kamailio/Makefile +++ b/net/kamailio/Makefile @@ -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))