bsp,abstract-machine: fix the order of .rti_fn* sections

* now initcall can work successfully, and msh can show prompt
This commit is contained in:
Zihao Yu 2023-05-24 14:29:16 +08:00
parent fed1897b98
commit 624077b98c
4 changed files with 32 additions and 0 deletions

View file

@ -6,6 +6,7 @@ RTCONFIG_H = rtconfig.h
NAME = rtthread
SRCS = $(shell find src -name "*.c")
CFLAGS += -DHAVE_CCONFIG_H -D__RTTHREAD__
LDFLAGS += extra.ld
-include $(FILE_MK)
include $(AM_HOME)/Makefile