summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-05-16 14:33:26 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-05-22 07:16:11 -0400
commit981e9728390b401404c36241e2ce6bd4cfcb723d (patch)
treeb68a7eaf7bf53dcd0dea8b29324c1e303bbb48f7 /tools
parentcade488b089667f1252220d6b613c6795f960852 (diff)
downloadrockbox-981e9728390b401404c36241e2ce6bd4cfcb723d.tar.gz
rockbox-981e9728390b401404c36241e2ce6bd4cfcb723d.zip
mips: add native backtrace implementation
Should make debugging crashes on native MIPS targets far easier. This is by no means a 100% complete or robust implementation but it seems to handle the vast majority of functions. Change-Id: Id5f430270e02b5092b79026b6876675c784aa649
Diffstat (limited to 'tools')
-rw-r--r--tools/root.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/root.make b/tools/root.make
index 2a83a32292..03c4d48986 100644
--- a/tools/root.make
+++ b/tools/root.make
@@ -75,6 +75,12 @@ ifeq (,$(findstring checkwps,$(APP_TYPE)))
75 include $(ROOTDIR)/lib/unwarminder/unwarminder.make 75 include $(ROOTDIR)/lib/unwarminder/unwarminder.make
76 endif 76 endif
77 endif 77 endif
78 ifeq (arch_mips,$(ARCH))
79 # mips unwinder is only usable on native ports
80 ifeq (,$(APP_TYPE))
81 include $(ROOTDIR)/lib/mipsunwinder/mipsunwinder.make
82 endif
83 endif
78 ifeq (,$(findstring bootloader,$(APPSDIR))) 84 ifeq (,$(findstring bootloader,$(APPSDIR)))
79 include $(ROOTDIR)/lib/skin_parser/skin_parser.make 85 include $(ROOTDIR)/lib/skin_parser/skin_parser.make
80 include $(ROOTDIR)/lib/tlsf/libtlsf.make 86 include $(ROOTDIR)/lib/tlsf/libtlsf.make