From d3aba38b829108c5315aee7be7e8f243d3050d3e Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 20 Feb 2004 17:32:32 +0000 Subject: Fix for Fedora (bug #1066) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@315 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6facc0e..4a4ddfc 100755 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ # # Makefile for tormenta/carrier driver and utilities # +BASEADDR=0xd0000 + # # Okay, the people at RedHat have to break everything they can possibly even attempt to. # So, we have to look in /usr/src/linux-2.4/include for header files given their brain dead @@ -33,7 +35,7 @@ CFLAGS+=-DSTANDALONE_ZAPATA INSTALL_PREFIX= -MODCONF=$(shell if [ -d $(INSTALL_PREFIX)/etc/modprobe.d ]; then echo "$(INSTALL_PREFIX)/etc/modprobe.d/zaptel"; elif [ -d $(INSTALL_PREFIX)/etc/modutils ]; then echo "$(INSTALL_PREFIX)/etc/modutils/zaptel"; elif [ -f $(INSTALL_PREFIX)/etc/modules.conf ]; then echo $(INSTALL_PREFIX)/etc/modules.conf; else echo $(INSTALL_PREFIX)/etc/conf.modules ; fi) +MODCONF=$(shell if [ -d $(INSTALL_PREFIX)/etc/modprobe.d ]; then echo "$(INSTALL_PREFIX)/etc/modprobe.d/zaptel"; elif [ -d $(INSTALL_PREFIX)/etc/modutils ]; then echo "$(INSTALL_PREFIX)/etc/modutils/zaptel"; elif [ -f $(INSTALL_PREFIX)/etc/modprobe.conf ]; then echo "$(INSTALL_PREFIX)/modprobe.conf"; elif [ -f $(INSTALL_PREFIX)/etc/modules.conf ]; then echo "$(INSTALL_PREFIX)/etc/modules.conf"; else echo $(INSTALL_PREFIX)/etc/conf.modules ; fi) DEVFS=$(shell ps ax | grep -v grep | grep devfsd) -- cgit v1.2.3