summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-12-12 16:45:35 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-12-12 16:45:35 +0100
commita309d3dfd255e29d9af88ca47329384009c6f1b3 (patch)
treea645571c0513c6d4cb8241402abf4a451ca441de /Makefile
parent561bd5e6d866e20d7ca710ee1d5a4e1f4b510b67 (diff)
add stackm target (machine-readable stack data)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b8929f9..dbcf712 100644
--- a/Makefile
+++ b/Makefile
@@ -137,6 +137,11 @@ stack: default
${QUIET}test -n "${ARCH_SHORTNAME}"
${QUIET}./static-stack-analyze.pl ${OBJDUMP} ${ARCH_SHORTNAME} ${OBJECTS}
+stackm: default
+ ${QUIET}test -n "${OBJDUMP}"
+ ${QUIET}test -n "${ARCH_SHORTNAME}"
+ ${QUIET}./static-stack-analyze.pl --machine-readable ${OBJDUMP} ${ARCH_SHORTNAME} ${OBJECTS}
+
clean: arch_clean
rm -f build/system.elf