[zaptel-commits] russell: tag 1.4.9.1 r3866 - /tags/1.4.9.1/kernel/Kbuild

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Feb 21 15:03:53 CST 2008


Author: russell
Date: Thu Feb 21 15:03:53 2008
New Revision: 3866

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

issue #11951, patch by qwell.

Modified:
    tags/1.4.9.1/kernel/Kbuild

Modified: tags/1.4.9.1/kernel/Kbuild
URL: http://svn.digium.com/view/zaptel/tags/1.4.9.1/kernel/Kbuild?view=diff&rev=3866&r1=3865&r2=3866
==============================================================================
--- tags/1.4.9.1/kernel/Kbuild (original)
+++ tags/1.4.9.1/kernel/Kbuild Thu Feb 21 15:03:53 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