[svn-commits] tzafrir: linux/trunk r6780 - /linux/trunk/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Jun 28 08:41:45 CDT 2009


Author: tzafrir
Date: Sun Jun 28 08:41:41 2009
New Revision: 6780

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6780
Log:
Fix 'make stackcheck' using the script of the kernel source.

Modified:
    linux/trunk/Makefile

Modified: linux/trunk/Makefile
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/Makefile?view=diff&rev=6780&r1=6779&r2=6780
==============================================================================
--- linux/trunk/Makefile (original)
+++ linux/trunk/Makefile Sun Jun 28 08:41:41 2009
@@ -38,6 +38,8 @@
   HAS_KSRC:=no
 endif
 
+CHECKSTACK=$(KSRC)/scripts/checkstack.pl
+
 # Set HOTPLUG_FIRMWARE=no to override automatic building with hotplug support
 # if it is enabled in the kernel.
 
@@ -90,8 +92,8 @@
 
 prereq: include/dahdi/version.h firmware-loaders
 
-stackcheck: checkstack modules
-	./checkstack kernel/*.ko kernel/*/*.ko
+stackcheck: $(CHECKSTACK) modules
+	objdump -d drivers/dahdi/*.ko drivers/dahdi/*/*.ko | $(CHECKSTACK)
 
 install: all install-modules install-devices install-include install-firmware install-xpp-firm
 	@echo "###################################################"




More information about the svn-commits mailing list