[zaptel-commits] tzafrir: branch 1.2 r4453 - /branches/1.2/xpp/Kbuild
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Mon Aug 4 10:38:11 CDT 2008
Author: tzafrir
Date: Mon Aug 4 10:38:10 2008
New Revision: 4453
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4453
Log:
Kbuild: A more robust check for the bri_dchan patch.
Modified:
branches/1.2/xpp/Kbuild
Modified: branches/1.2/xpp/Kbuild
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/Kbuild?view=diff&rev=4453&r1=4452&r2=4453
==============================================================================
--- branches/1.2/xpp/Kbuild (original)
+++ branches/1.2/xpp/Kbuild Mon Aug 4 10:38:10 2008
@@ -20,13 +20,13 @@
obj-m += xpp.o xpd_fxs.o xpd_fxo.o xpd_pri.o
-HAS_BRISTUFF := $(shell grep '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_ZAPATA_BRI_DCHANS\>' $(ZAP_KERNEL)/zconfig.h)
+HAS_BRISTUFF := $(shell grep -c '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_ZAPATA_BRI_DCHANS\>' $(ZAP_KERNEL)/zconfig.h)
# Build only supported modules
ifneq (,$(filter y m,$(CONFIG_USB)))
obj-m += xpp_usb.o
endif
-ifneq (,$(HAS_BRISTUFF))
+ifneq (0,$(HAS_BRISTUFF))
obj-m += xpd_bri.o
endif
More information about the zaptel-commits
mailing list