build.gn自动添加 Makefile输出的src_files.txt文件

This commit is contained in:
2025-01-17 19:35:35 +08:00
parent f790b7f9d4
commit e202cbfdbe
18 changed files with 90 additions and 770 deletions

View File

@@ -85,6 +85,7 @@ SRCS += $(EXT_SRC)
OBJECTS = $(addprefix $(BIN_DIR)/, $(patsubst %.S, %.o, $(patsubst %.c, %.o, $(patsubst %.cpp, %.o, $(SRCS)))))
$(shell echo $(SRCS) > "src_files.txt")
$(shell echo $(ADD_INCLUDE) >> "src_files.txt")
endif
PLATFORM ?= FPGA