summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-11-21 09:30:54 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-11-21 09:30:54 +0000
commit018e3d3447492c7511aca29a6e54226274d7e930 (patch)
treed0dfaf05ed5b8d01a22909020384284e8aa7c795 /Makefile
parented29a5c540e7080cb6f54e338d4adf2c318dba8d (diff)
Fix for new kernels, add support for 2.4.22 and new sethdlc
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@281 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6532e86..fbc4ccb 100755
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ KFLAGS+=-DECHO_CAN_MARK2
#
# Uncomment for Generic PPP support (i.e. ZapRAS)
#
-KFLAGS+=-DCONFIG_ZAPATA_PPP
+#KFLAGS+=-DCONFIG_ZAPATA_PPP
#
# Uncomment to enable "watchdog" to monitor if interfaces
# stop taking interrupts or otherwise misbehave
@@ -249,7 +249,11 @@ endif
install: all devices
mkdir -p $(INSTALL_PREFIX)/sbin
install -m 755 ztcfg $(INSTALL_PREFIX)/sbin
- if [ -f sethdlc ]; then install -m 755 sethdlc $(INSTALL_PREFIX)/sbin ; fi
+ if [ -f sethdlc-new ]; then \
+ install -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \
+ elsif [ -f sethdlc ]; then \
+ install -m 755 sethdlc $(INSTALL_PREFIX)/sbin ; \
+ fi
if [ -f zttool ]; then install -m 755 zttool $(INSTALL_PREFIX)/sbin; fi
mkdir -p $(INSTALL_PREFIX)/lib/modules/`uname -r`/misc
for x in $(MODULES); do \
@@ -321,7 +325,7 @@ config:
clean:
rm -f torisatool makefw tor2fw.h
rm -f zttool
- rm -f *.o ztcfg tzdriver sethdlc
+ rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f $(TZOBJS) $(LIBTONEZONE) *.lo
rm -f gendigits tones.h
rm -f libtonezone*