[dahdi-commits] dahdi/linux.git branch "master" updated.
    SVN commits to the DAHDI project 
    dahdi-commits at lists.digium.com
       
    Mon May 20 17:23:14 CDT 2013
    
    
  
branch "master" has been updated
       via  2b0cca777f590a7e07e8e17dd7e18bcac969412f (commit)
      from  96652d88c64ba0d7e9c56c2671376fb5e70407ae (commit)
Summary of changes:
 Makefile |    4 ++++
 1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit 2b0cca777f590a7e07e8e17dd7e18bcac969412f
Author: Shaun Ruffell <sruffell at digium.com>
Date:   Mon May 20 17:19:55 2013 -0500
    oct612x: Fix confusing compile error when kernel source is not present
    
    Signed-off-by: Russ Meyerriecks <rmeyerriecks at digium.com>
diff --git a/Makefile b/Makefile
index 0b90ea9..6fddf5f 100644
--- a/Makefile
+++ b/Makefile
@@ -123,6 +123,10 @@ firmware-loaders:
 	$(MAKE) -C drivers/dahdi/firmware firmware-loaders
 
 oct612x-lib:
+ifeq (no,$(HAS_KSRC))
+	@echo "You do not appear to have the sources for the $(KVERS) kernel installed."
+	@exit 1
+endif
 	$(MAKE) -C $(KSRC) M='$(PWD)/drivers/dahdi/oct612x'
 
 install-include:
-----------------------------------------------------------------------
-- 
dahdi/linux.git
    
    
More information about the dahdi-commits
mailing list