summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-02 22:23:45 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-03-02 22:23:45 +0000
commit7b2a2d6266b2a41a6b338908f479009d688ad976 (patch)
tree807cd3ada2de7a5e700591dc2aefb04507dce077 /Makefile
parent7fea427d8f18cf1f6a69f728a9ba9231b5e96758 (diff)
Proper initialization of the Astribank (xpp).
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2274 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4e35500..edf6be3 100644
--- a/Makefile
+++ b/Makefile
@@ -113,7 +113,7 @@ KFLAGS+=$(shell if uname -r | grep -q 2.4; then if uname -m | grep -q x86_64; th
#
KFLAGS+=-DSTANDALONE_ZAPATA
-KMAKE:= $(MAKE) -C $(KSRC) SUBDIRS=$(PWD)
+KMAKE:= $(MAKE) -C $(KSRC) SUBDIRS="$(PWD)"
KMAKE_INST:= $(KMAKE) INSTALL_MOD_PATH=$(INSTALL_PREFIX) INSTALL_MOD_DIR=misc modules_install
CONFIG_FILE:=$(INSTALL_PREFIX)/etc/zaptel.conf
@@ -154,7 +154,7 @@ endif
ifeq ($(BUILDVER),linux26)
all: prereq $(BINS) $(LIBTONEZONE_SO)
@if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi
- $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE) modules
+ $(KMAKE) HOTPLUG_FIRMWARE=$(HOTPLUG_FIRMWARE) modules
endif
ifeq ($(HPEC_PRESENT),yes)
@@ -166,7 +166,7 @@ ifeq ($(ARCH),x86_64)
ZAPTEL_HPEC:=hpec/hpec_x86_64.o_shipped
endif
-KFLAGS+=-DECHO_CAN_HPEC -I$(PWD)/hpec
+KFLAGS+=-DECHO_CAN_HPEC -I"$(PWD)/hpec"
zaptel-base.o: hpec/hpec_zaptel.h hpec/hpec_user.h
endif
@@ -443,7 +443,7 @@ clean:
rm -f patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f $(TZOBJS) $(LIBTONEZONE_SO) *.lo
- $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) clean
+ $(KMAKE) clean
$(MAKE) -C wct4xxp clean
$(MAKE) -C wctc4xxp clean
rm -rf .tmp_versions