summaryrefslogtreecommitdiff
path: root/openwrt/package/depend.mk
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/depend.mk')
-rw-r--r--openwrt/package/depend.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/openwrt/package/depend.mk b/openwrt/package/depend.mk
index 63e185b2b2..f265cb581d 100644
--- a/openwrt/package/depend.mk
+++ b/openwrt/package/depend.mk
@@ -116,7 +116,13 @@ wpa_supplicant-compile: openssl-compile
wx200d-compile: postgresql-compile
xsupplicant-compile: openssl-compile
-asterisk-compile: bluez-libs-compile ncurses-compile openssl-compile openh323-compile
+asterisk-compile: ncurses-compile openssl-compile
+ifneq ($(BR2_PACKAGE_ASTERISK_CHAN_BLUETOOTH),)
+asterisk-compile: bluez-libs-compile
+endif
+ifneq ($(BR2_PACKAGE_ASTERISK_CHAN_H323),)
+asterisk-compile: openh323-compile uclibc++-compile
+endif
ifneq ($(BR2_PACKAGE_ASTERISK_CODEC_SPEEX),)
asterisk-compile: speex-compile
endif