This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit a87170681d9a61f53c3ca08a5fae3e2e552439de Author: wangmingrong1 <wangmingro...@xiaomi.com> AuthorDate: Wed May 7 16:21:18 2025 +0800 libbuitin: Fixed the issue of not creating bin directory when the file exists Signed-off-by: wangmingrong1 <wangmingro...@xiaomi.com> --- libs/libbuiltin/compiler-rt/Make.defs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/libbuiltin/compiler-rt/Make.defs b/libs/libbuiltin/compiler-rt/Make.defs index c9fedfe74f..12465172d7 100644 --- a/libs/libbuiltin/compiler-rt/Make.defs +++ b/libs/libbuiltin/compiler-rt/Make.defs @@ -42,6 +42,9 @@ COMPILER_RT_OBJDIR = compiler-rt \ BIN_OBJDIR = $(addprefix $(BINDIR)$(DELIM),$(COMPILER_RT_OBJDIR)) KBIN_OBJDIR = $(addprefix $(KBINDIR)$(DELIM),$(COMPILER_RT_OBJDIR)) +$(BIN_OBJDIR) $(KBIN_OBJDIR): + $(Q) mkdir -p $@ + ifeq ($(wildcard compiler-rt/compiler-rt/lib),) compiler-rt-$(COMPILER_RT_VERSION).src.tar.xz: @@ -51,7 +54,6 @@ compiler-rt/compiler-rt: compiler-rt-$(COMPILER_RT_VERSION).src.tar.xz $(Q) tar -xf $< $(Q) mv compiler-rt-$(COMPILER_RT_VERSION).src $@ $(call DELDIR, $<) - $(Q) mkdir $(BIN_OBJDIR) $(KBIN_OBJDIR) compiler-rt: compiler-rt/compiler-rt @@ -60,7 +62,7 @@ endif ifeq ($(CONFIG_LIB_COMPILER_RT),y) .PHONY: compiler-rt -depend:: compiler-rt +depend:: compiler-rt $(BIN_OBJDIR) $(KBIN_OBJDIR) distclean:: $(call DELDIR, $(BIN_OBJDIR))