summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormogorman <mogorman@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-17 21:42:45 +0000
committermogorman <mogorman@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-17 21:42:45 +0000
commit57f719d85f04bd036045c40c644e232a7196a564 (patch)
tree20bb3f438b302dd9104d304c7d54c10794fc2c32 /Makefile
parent09b4857c756ec320188f099d51697a708245e311 (diff)
move to better binary methods
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1839 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 903768f..ab3d59e 100644
--- a/Makefile
+++ b/Makefile
@@ -133,7 +133,7 @@ LTZ_SO_MINOR_VER:=0
ifeq ($(findstring xpp_usb,$(MENUSELECT_MODULES)),)
BUILD_XPP:=yes
endif
-MODULES:=pciradio tor2 torisa wcfxo wct1xxp wctdm wctdm24xxp wcte11xp wcusb zaptel ztd-eth ztd-loc ztdummy ztdynamic zttranscode ztcodec_dte
+MODULES:=pciradio tor2 torisa wcfxo wct1xxp wctdm wctdm24xxp wcte11xp wcusb zaptel ztd-eth ztd-loc ztdummy ztdynamic zttranscode
MODULES:=$(filter-out $(MENUSELECT_MODULES),$(MODULES))
MODULESO:=$(MODULES:%=%.o)
@@ -157,6 +157,10 @@ ifeq ($(findstring wct4xxp,$(MENUSELECT_MODULES)),)
obj-m+=wct4xxp/
MODULES+=wct4xxp
endif
+ifeq ($(findstring ztcodec_dte,$(MENUSELECT_MODULES)),)
+obj-m+=ztcodec_dte/
+MODULES+=ztcodec_dte
+endif
# Set this to override hotplug firmware loading and revert to classic header
#HOTPLUG_FIRMWARE=no
@@ -209,6 +213,9 @@ version.h:
wct4xxp/wct4xxp.o:
$(MAKE) -C wct4xxp KFLAGS="$(KFLAGS) -I.." CFLAGS="$(CFLAGS) -I.."
+ztcodec_dte/ztcodec_dte.o:
+ $(MAKE) -C ztcodec_dte KFLAGS="$(KFLAGS) -I.." CFLAGS="$(CFLAGS) -I.."
+
devel: tor2ee
tests: patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
@@ -426,9 +433,11 @@ firmware:
ifeq ($(HOTPLUG_FIRMWARE),yes)
if [ -d $(INSTALL_PREFIX)/usr/lib/hotplug/firmware ]; then \
$(INSTALL) -m 644 wct4xxp/*.ima $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
+ $(INSTALL) -m 644 ztcodec_dte/*.bin $(INSTALL_PREFIX)/usr/lib/hotplug/firmware; \
fi
if [ -d $(INSTALL_PREFIX)/lib/firmware ]; then \
$(INSTALL) -m 644 wct4xxp/*.ima $(INSTALL_PREFIX)/lib/firmware; \
+ $(INSTALL) -m 644 ztcodec_dte/*.bin $(INSTALL_PREFIX)/lib/firmware; \
fi
@echo "Installed firmware"
else
@@ -494,6 +503,7 @@ ifeq ($(BUILDVER),linux26)
$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) clean
else
$(MAKE) -C wct4xxp clean
+ $(MAKE) -C ztcodec_dte clean
$(MAKE) -C datamods clean
endif
rm -f xpp/*.ko xpp/*.mod.c xpp/.*o.cmd