sbl 编译完成后导出 spl_printf

This commit is contained in:
2024-10-29 17:47:45 +08:00
parent cf9aa0f12d
commit 11d5666c2f
2 changed files with 8 additions and 2 deletions

View File

@@ -68,6 +68,14 @@ EXTRA_OPT_FLAG = -msave-restore
DISABLE_BACKTRACE = 1
#####################################################
extra_work = echo handle sbl...;\
$(TOPDIR)/tools/rom_img/make_ld.sh --addrs $(TOPDIR)/sbl/.output/plc/lib/kunlun_sbl.out \
$(TOPDIR)/tools/rom_img/sbl_symbol > $(TOPDIR)/startup/ldscripts/riscv3/sbl.addrs.ld;
ifdef TOPDIR
include $(TOPDIR)/build/makefile.cfg
else