[zaptel-commits] qwell: branch 1.4 r3861 - /branches/1.4/kernel/Kbuild

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Feb 20 16:02:07 CST 2008


Author: qwell
Date: Wed Feb 20 16:02:06 2008
New Revision: 3861

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3861
Log:
Make hpec buildable again.

Closes issue #11951, patch by me.

Modified:
    branches/1.4/kernel/Kbuild

Modified: branches/1.4/kernel/Kbuild
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/Kbuild?view=diff&rev=3861&r1=3860&r2=3861
==============================================================================
--- branches/1.4/kernel/Kbuild (original)
+++ branches/1.4/kernel/Kbuild Wed Feb 20 16:02:06 2008
@@ -16,16 +16,23 @@
 
 zaptel-objs := zaptel-base.o
 
-ifeq ($(HPEC_PRESENT),yes)
 ifeq ($(ARCH),i386)
+ifneq ($(wildcard $(src)/hpec/hpec_x86_32.o_shipped),)
+HPEC_PRESENT=yes
 zaptel-objs += hpec/hpec_x86_32.o
+endif
 endif
 
 ifeq ($(ARCH),x86_64)
+ifneq ($(wildcard $(src)/hpec/hpec_x86_64.o_shipped),)
+HPEC_PRESENT=yes
 zaptel-objs += hpec/hpec_x86_64.o
 endif
+endif
 
+ifeq ($(HPEC_PRESENT),yes)
 EXTRA_CFLAGS += -DECHO_CAN_HPEC -I$(src)/hpec
+$(obj)/zaptel-base.o: hpec/hpec_zaptel.h hpec/hpec_user.h
 endif
 
 $(obj)/pciradio.o: $(obj)/radfw.h




More information about the zaptel-commits mailing list