summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-25 23:59:37 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-25 23:59:37 +0000
commit860c46060672ec32918b3ea305c2d3a795bb6ae7 (patch)
tree9aa987489d6775df2b010af0897110be89bd4d44 /Makefile
parentd8e4f2d9d55628bdc758ffcdcf4321883770a721 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
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