aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitd76fc87d2245efcae0d3890c6474335a6deb36fc (patch)
tree750da8a96a18491ecda1570b748e25099b6c8253 /package/asterisk
parent6d04762287c522a657b1845d5d5286cb50203287 (diff)
downloadupstream-d76fc87d2245efcae0d3890c6474335a6deb36fc.tar.gz
upstream-d76fc87d2245efcae0d3890c6474335a6deb36fc.tar.bz2
upstream-d76fc87d2245efcae0d3890c6474335a6deb36fc.zip
build asterisk correctly with DEVELOPER=1 and not all config options enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1144 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/asterisk')
-rw-r--r--package/asterisk/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 5c5dd7bf01..b39a529e57 100644
--- a/package/asterisk/Makefile
+++ b/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 $@