summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-04 15:38:10 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-08-04 15:38:10 +0000
commit3d7433f3c5592585bcd18881ee49f7d83f43fe89 (patch)
treed98820a771898a37a82e6b6f9838c42683d96ed2
parent006841001339d7ed83d054d3fa59ade0e117a511 (diff)
Kbuild: A more robust check for the bri_dchan patch.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4453 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--xpp/Kbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/Kbuild b/xpp/Kbuild
index f7f180b..3be5c71 100644
--- a/xpp/Kbuild
+++ b/xpp/Kbuild
@@ -20,13 +20,13 @@ endif
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