summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-30 07:27:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-30 07:27:57 +0100
commit959f015b3c0082574f874e02bb0ed5c18874fa48 (patch)
tree585149ba3bb5405bc6f300cb2bf54747aa7ca07a /Makefile
parentedd64b6369f934b928c97763a875389df231fc5f (diff)
remove unused avstack, add static-stack-analyze / "make stack"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 201820c..f21f9b9 100644
--- a/Makefile
+++ b/Makefile
@@ -139,12 +139,12 @@ endif
stack: default
${QUIET}test -n "${OBJDUMP}"
${QUIET}test -n "${ARCH_SHORTNAME}"
- ${QUIET}./static-stack-analyze.pl ${OBJDUMP} ${ARCH_SHORTNAME} ${OBJECTS}
+ ${QUIET}script/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}
+ ${QUIET}script/static-stack-analyze.pl --machine-readable ${OBJDUMP} ${ARCH_SHORTNAME} ${OBJECTS}
clean: arch_clean
rm -f build/system.elf
@@ -166,6 +166,7 @@ help: arch_help
@echo " kout_nop -- Do not write output to stdout / serial console"
@echo " ostream -- include C++ ostream standard library"
@echo " trace_malloc -- trace mpmalloc/mpcalloc/mprealloc calls on stdout"
+ @echo " stack_usage -- Generate .su files for stack usage estimation (-> make stack)"
@echo
@echo "${arch} drivers:"
@ls -1 src/arch/${arch}/driver | fgrep .c | cut -d . -f 1 | sed 's/^/ /'