summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2022-10-16 17:09:21 +0200
committerSebastian Kemper <sebastian_ml@gmx.net>2022-10-16 17:09:24 +0200
commit07cbb38db1cb1759e257a4c2f1b29d20573901be (patch)
treee37ea17aef702b3bc97100669c0dd5017fd24280
parentfa14037e8a73b06bd088ad372bf1a41a34147216 (diff)
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>
-rw-r--r--net/kamailio/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/kamailio/Makefile b/net/kamailio/Makefile
index 69b45f3..509fb82 100644
--- a/net/kamailio/Makefile
+++ b/net/kamailio/Makefile
@@ -371,6 +371,9 @@ define BuildKamailioModule
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))
$(foreach c,$(6),$(call Package/kamailio/install/conffile,$$(1),$(c));)