diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |