From 018e3d3447492c7511aca29a6e54226274d7e930 Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 21 Nov 2003 09:30:54 +0000 Subject: 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 --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') 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* -- cgit v1.2.3