[svn-commits] tzafrir: branch linux/2.5 r10398 - /linux/branches/2.5/drivers/dahdi/Kbuild

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 3 16:55:32 CST 2012


Author: tzafrir
Date: Tue Jan  3 16:55:29 2012
New Revision: 10398

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10398
Log:
Avoid building PCI devices if kernel has no PCI

Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

Modified:
    linux/branches/2.5/drivers/dahdi/Kbuild

Modified: linux/branches/2.5/drivers/dahdi/Kbuild
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.5/drivers/dahdi/Kbuild?view=diff&rev=10398&r1=10397&r2=10398
==============================================================================
--- linux/branches/2.5/drivers/dahdi/Kbuild (original)
+++ linux/branches/2.5/drivers/dahdi/Kbuild Tue Jan  3 16:55:29 2012
@@ -6,6 +6,7 @@
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_DYNAMIC_ETHMF)	+= dahdi_dynamic_ethmf.o
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_TRANSCODE)		+= dahdi_transcode.o
 
+ifdef CONFIG_PCI
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCT4XXP)		+= wct4xxp/
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTC4XXP)		+= wctc4xxp/
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTDM24XXP)	+= wctdm24xxp/
@@ -20,6 +21,7 @@
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCFXO)		+= wcfxo.o
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_TOR2)		+= tor2.o
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_PCIRADIO)		+= pciradio.o
+endif
 
 obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_XPP)		+= xpp/
 




More information about the svn-commits mailing list