summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-06-28 13:41:41 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-06-28 13:41:41 +0000
commitb6189431ca45978451d068b1c569d66e864f135b (patch)
tree706548dfdf6a6af600697484918b11f16e59dd4f /Makefile
parent84e98d2d696e757804339f6988d7e0fc0a9f0a0e (diff)
Fix 'make stackcheck' using the script of the kernel source.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6780 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 962883b..6986e38 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,8 @@ else
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 @@ include/dahdi/version.h: FORCE
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 "###################################################"