zouboan commented on code in PR #7572:
URL: https://github.com/apache/nuttx/pull/7572#discussion_r1034732996


##########
tools/Config.mk:
##########
@@ -393,11 +393,18 @@ endef
 # ARCHIVE - Same as above, but ensure the archive is
 # created from scratch
 
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+define ARCHIVE
+       $(Q) $(RM) $1
+       $(Q) $(AR) $1 $(2)
+endef
+else
 define ARCHIVE
        @echo "AR (create): ${shell basename $(1)} $(2)"

Review Comment:
   L389:
   `define ARCHIVE_ADD
        @echo "AR (add): ${shell basename $(1)} $(2)"
        $(Q) $(AR) $1 $(2)
   endef`
   `ARCHIVE_ADD ` was used to archive file to `$1` one by one, so `$(2)` didn't 
contain too many object, and will not give too long input line error



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to