[zaptel-commits] tzafrir: branch 1.2 r2274 - /branches/1.2/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Fri Mar 2 15:23:46 MST 2007


Author: tzafrir
Date: Fri Mar  2 16:23:45 2007
New Revision: 2274

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2274
Log:
Proper initialization of the Astribank (xpp).

Modified:
    branches/1.2/Makefile

Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/Makefile?view=diff&rev=2274&r1=2273&r2=2274
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Fri Mar  2 16:23:45 2007
@@ -113,7 +113,7 @@
 #
 
 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 @@
 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 @@
 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 @@
 	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



More information about the zaptel-commits mailing list