From 860c46060672ec32918b3ea305c2d3a795bb6ae7 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Fri, 25 Jan 2008 23:59:37 +0000 Subject: get this branch to build against 2.6.24 kernel build system (similar to r3706 from tzafrir for branch-1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3741 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e93caf5..2ef3c2c 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,10 @@ MODULESO+=$(SUBDIRS_EXTRA:%=%/) endif # add this later, so it doesn't become part of MODULESO/MODULESKO -MODULES+=wct4xxp wctc4xxp wcte12xp wctdm24xxp +MODULES+=wct4xxp +ifeq ($(BUILDVER),linux26) +MODULES+=wctc4xxp wcte12xp wctdm24xxp +endif ifeq ($(ARCH),i386) ifneq ($(wildcard $(PWD)/hpec/hpec_x86_32.o_shipped),) @@ -221,7 +224,7 @@ utils: $(BINS) libs: $(LIBTONEZONE_SO) ifeq ($(BUILDVER),linux24) -modules: prereq $(MODULESO) wct4xxp/wct4xxp.o wctdm24xxp/wctdm24xxp.o wcte12xp/wcte12xp.o +modules: prereq $(MODULESO) wct4xxp/wct4xxp.o else modules: prereq ifeq (,$(wildcard $(KSRC)/.config)) @@ -458,7 +461,6 @@ ifeq ($(BUILDVER),linux26) else install -d $(DESTDIR)$(MODS_DIR) install -m 644 $(MODULESO) wct4xxp/wct4xxp.o $(DESTDIR)$(MODS_DIR) - install -m 644 $(MODULESO) wctdm24xxp/wctdm24xxp.o $(DESTDIR)$(MODS_DIR) endif ifeq (,$(wildcard wcfxsusb.o)) rm -f $(DESTDIR)$(MODS_DIR)/wcfxsusb.o -- cgit v1.2.3