kamailio-5.x: improve module depends
Currently the Makefile pulls in depends even for packages which are not selected. Fix this by prefixing the depends with the respective PACKAGE_* item. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
24b13d2bd7
commit
07bcdd9fa7
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ define BuildKamailio5Module
|
|||
define Package/kamailio5-mod-$(subst _,-,$(1))
|
||||
$$(call Package/kamailio5/Default)
|
||||
TITLE:=$(2) for Kamailio5
|
||||
DEPENDS:=kamailio5 $(4)
|
||||
DEPENDS:=kamailio5 $(patsubst +%,+PACKAGE_kamailio5-mod-$(subst _,-,$(1)):%,$(4))
|
||||
endef
|
||||
|
||||
define Package/kamailio5-mod-$(subst _,-,$(1))/install
|
||||
|
|
Loading…
Reference in a new issue