build asterisk correctly with DEVELOPER=1 and not all config options enabled

SVN-Revision: 1144
owl
Felix Fietkau 2005-06-05 10:18:37 +00:00
parent 26a4ecf20e
commit a3f771d4c4
1 changed files with 6 additions and 0 deletions

View File

@ -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_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))) $(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:= APPS:=
MODS:= MODS:=
ifneq ($(BR2_PACKAGE_ASTERISK_MYSQL),) ifneq ($(BR2_PACKAGE_ASTERISK_MYSQL),)
@ -36,6 +41,7 @@ endif
ifneq ($(BR2_PACKAGE_ASTERISK_CODEC_SPEEX),) ifneq ($(BR2_PACKAGE_ASTERISK_CODEC_SPEEX),)
SPEEX:=codec_speex.so SPEEX:=codec_speex.so
endif endif
endif
$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.configured:
touch $@ touch $@