diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-05 20:46:27 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-05 20:46:27 +0000 |
commit | bb0b421ea8c2b40c0ab6be495e9de46f1852b6cf (patch) | |
tree | d5827333b38eac990d3ee179fd35122c76faa02d /channels/Makefile | |
parent | 4bd290444922500ea2769823ddb47bf7d07b74ed (diff) |
use module names, not file names, in menuselect
work around XML parsing bug in menuselect for default sounds package
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32407 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rw-r--r-- | channels/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/channels/Makefile b/channels/Makefile index 4a8d43b4a..060d4e1fb 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -11,7 +11,7 @@ # the GNU General Public License # -MODS:=$(filter-out $(MENUSELECT_CHANNELS),$(patsubst %.c,%.so,$(wildcard chan_*.c))) +SELECTED_MODS:=$(filter-out $(MENUSELECT_CHANNELS),$(patsubst %.c,%,$(wildcard chan_*.c))) ifeq ($(OSARCH),OpenBSD) PTLIB=-lpt_OpenBSD_x86_r @@ -45,11 +45,11 @@ ifeq ($(OSARCH),SunOS) endif ifeq ($(wildcard h323/libchanh323.a),) - MODS:=$(filter-out chan_h323.so,$(MODS)) + SELECTED_MODS:=$(filter-out chan_h323,$(SELECTED_MODS)) endif ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/mISDNuser/mISDNlib.h),) - MODS:=$(filter-out chan_misdn.so,$(MODS)) + SELECTED_MODS:=$(filter-out chan_misdn,$(SELECTED_MODS)) else CFLAGS+=-Imisdn endif @@ -62,6 +62,8 @@ ifndef PWLIBDIR PWLIBDIR=$(HOME)/pwlib endif +MODS:=$(patsubst %,%.so,$(SELECTED_MODS)) + all: depend $(MODS) clean-depend: |