aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-02-02 14:07:05 +0000
committerWolfgang Denk <wd@denx.de>2012-03-06 22:07:55 +0100
commit1064d980be0f55af0eb6e52050aa6ee4b500c3d6 (patch)
treef9f8b208b487ce9fefde26f335e0d62a36111faa /Makefile
parent44b333ef4d3d8c6835320f70c46c7f124ffa9f03 (diff)
tools: checkstack.pl from Linux added to tools
Added from Linux - commit 62aa2b537c6f5957afd98e29f96897419ed5ebab Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 33136ffc1..144613184 100644
--- a/Makefile
+++ b/Makefile
@@ -523,6 +523,11 @@ TAG_SUBDIRS += include
FIND := find
FINDFLAGS := -L
+checkstack:
+ $(CROSS_COMPILE)objdump -d $(obj)u-boot \
+ `$(FIND) $(obj) -name u-boot-spl -print` | \
+ perl $(src)tools/checkstack.pl $(ARCH)
+
tags ctags:
ctags -w -o $(obj)ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
-name '*.[chS]' -print`