projects
/
feed
/
telephony.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa14037
)
kamailio: add descriptions via BuildKamailioModule
author
Sebastian Kemper
<
[email protected]
>
Sun, 16 Oct 2022 15:09:21 +0000
(17:09 +0200)
committer
Sebastian Kemper
<
[email protected]
>
Sun, 16 Oct 2022 15:09:24 +0000
(17:09 +0200)
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 <
[email protected]
>
net/kamailio/Makefile
patch
|
blob
|
history
diff --git
a/net/kamailio/Makefile
b/net/kamailio/Makefile
index 69b45f317cc04b5f3ef574db849b162511ed5b43..509fb82bf815fa214258204e41f4199de5539442 100644
(file)
--- 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))