summaryrefslogtreecommitdiff
path: root/kernel/xpp/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/xpp/Kbuild')
-rw-r--r--kernel/xpp/Kbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/xpp/Kbuild b/kernel/xpp/Kbuild
index f7f180b..3be5c71 100644
--- a/kernel/xpp/Kbuild
+++ b/kernel/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