build: Refactor the stack trace lib. [1/1]
PD#SWPL-68240
Problem:
Refactor for all.
Solution:
Refactor the stack trace lib.
Verify:
N/A
Change-Id: Iaa08360b3129a7bdfdc7fab36ef295a8f3b10f2e
Signed-off-by: Xiaohu.Huang <xiaohu.huang@amlogic.com>
diff --git a/Makefile b/Makefile
index 1f6c0a1..4c28e65 100755
--- a/Makefile
+++ b/Makefile
@@ -281,6 +281,12 @@
./update_fw.sh;) \
fi
+.PHONY: stacktrace
+stacktrace: kernel
+ make -f $(PRJDIR)/build/symtable.mk backtrace && \
+ cmake --build $(kernel_BUILD_DIR) && \
+ make -f $(PRJDIR)/build/symtable.mk clean
+
.PHONY: release
release:
@ if [ -f $(PRJDIR)/CMakeLists.txt ] && [ -f $(PRJDIR)/Kconfig ]; then \