summaryrefslogtreecommitdiff
path: root/kernel/xpp/Kbuild
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/xpp/Kbuild')
-rw-r--r--kernel/xpp/Kbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/xpp/Kbuild b/kernel/xpp/Kbuild
index ca05049..f7f180b 100644
--- a/kernel/xpp/Kbuild
+++ b/kernel/xpp/Kbuild
@@ -20,7 +20,7 @@ endif
obj-m += xpp.o xpd_fxs.o xpd_fxo.o xpd_pri.o
-HAS_BRISTUFF := $(shell cpp $(CPPFLAGS) -dM $(ZAP_KERNEL)/zconfig.h | sed -n 's/^.*CONFIG_ZAPATA_BRI_DCHANS/y/p')
+HAS_BRISTUFF := $(shell grep '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_ZAPATA_BRI_DCHANS\>' $(ZAP_KERNEL)/zconfig.h)
# Build only supported modules
ifneq (,$(filter y m,$(CONFIG_USB)))