mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
tools: Remove archive lock file in make distclean
Remove temporary archive lock file (xxx.a.lock) by make distclean because the file may be generated by archive with flock command.
This commit is contained in:
+2
-1
@@ -584,11 +584,12 @@ define CLEAN
|
||||
$(Q) if exist (del /f /q .*.swp)
|
||||
$(call DELFILE,$(subst /,\,$(OBJS)))
|
||||
$(Q) if exist $(BIN) (del /f /q $(subst /,\,$(BIN)))
|
||||
$(Q) if exist $(BIN).lock (del /f /q $(subst /,\,$(BIN).lock))
|
||||
$(Q) if exist $(EXTRA) (del /f /q $(subst /,\,$(EXTRA)))
|
||||
endef
|
||||
else
|
||||
define CLEAN
|
||||
$(Q) rm -f *$(OBJEXT) *$(LIBEXT) *~ .*.swp $(OBJS) $(BIN) $(EXTRA)
|
||||
$(Q) rm -f *$(OBJEXT) *$(LIBEXT) *~ .*.swp $(OBJS) $(BIN) $(BIN).lock $(EXTRA)
|
||||
endef
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user