summaryrefslogtreecommitdiff
path: root/openwrt/package/asterisk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-06-05 10:18:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-06-05 10:18:37 +0000
commita3f771d4c42e290529dfa8259d302fc48c8e5905 (patch)
treec2e6a0bd0710594dbabec8e347c8ff5c102c0662 /openwrt/package/asterisk
parent26a4ecf20ea552ce0094ccb0d9b8b3b0e92c0e32 (diff)
downloadmtk-20170518-a3f771d4c42e290529dfa8259d302fc48c8e5905.zip
mtk-20170518-a3f771d4c42e290529dfa8259d302fc48c8e5905.tar.gz
mtk-20170518-a3f771d4c42e290529dfa8259d302fc48c8e5905.tar.bz2
build asterisk correctly with DEVELOPER=1 and not all config options enabled
SVN-Revision: 1144
Diffstat (limited to 'openwrt/package/asterisk')
-rw-r--r--openwrt/package/asterisk/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/Makefile b/openwrt/package/asterisk/Makefile
index 5c5dd7b..b39a529 100644
--- a/openwrt/package/asterisk/Makefile
+++ b/openwrt/package/asterisk/Makefile
@@ -23,6 +23,11 @@ $(eval $(call PKG_template,ASTERISK_CODEC_LPC10,asterisk-codec-lpc10,$(PKG_VERSI
$(eval $(call PKG_template,ASTERISK_CODEC_SPEEX,asterisk-codec-speex,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(eval $(call PKG_template,ASTERISK_PBX_DUNDI,asterisk-pbx-dundi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+ifneq ($(DEVELOPER),)
+APPS:=app_sql_mysql.so app_sql_postgres.so
+MODS:=cdr_mysql.so cdr_pgsql.so
+SPEEX:=codec_speex.so
+else
APPS:=
MODS:=
ifneq ($(BR2_PACKAGE_ASTERISK_MYSQL),)
@@ -36,6 +41,7 @@ endif
ifneq ($(BR2_PACKAGE_ASTERISK_CODEC_SPEEX),)
SPEEX:=codec_speex.so
endif
+endif
$(PKG_BUILD_DIR)/.configured:
touch $@