[svn-commits] tzafrir: linux/trunk r4759 - /linux/trunk/drivers/dahdi/xpp/Kbuild
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Aug 11 10:33:07 CDT 2008
Author: tzafrir
Date: Mon Aug 11 10:33:06 2008
New Revision: 4759
URL: http://svn.digium.com/view/dahdi?view=rev&rev=4759
Log:
A more robust test for bri_dchan support.
Modified:
linux/trunk/drivers/dahdi/xpp/Kbuild
Modified: linux/trunk/drivers/dahdi/xpp/Kbuild
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/xpp/Kbuild?view=diff&rev=4759&r1=4758&r2=4759
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/Kbuild (original)
+++ linux/trunk/drivers/dahdi/xpp/Kbuild Mon Aug 11 10:33:06 2008
@@ -6,13 +6,13 @@
-g
#
-WITH_BRISTUFF := $(shell grep '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_DAHDI_BRI_DCHANS\>' $(src)/../dahdi_config.h)
+WITH_BRISTUFF := $(shell grep -c '^[[:space:]]*\#[[:space:]]*define[[:space:]]\+CONFIG_DAHDI_BRI_DCHANS\>' $(src)/../dahdi_config.h)
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPP) += xpp.o
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPD_FXS) += xpd_fxs.o
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPD_FXO) += xpd_fxo.o
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPD_PRI) += xpd_pri.o
-ifneq (,$(WITH_BRISTUFF))
+ifneq (0,$(WITH_BRISTUFF))
obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPD_BRI) += xpd_bri.o
endif
More information about the svn-commits
mailing list