You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/01/31 10:17:13 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #8347: tools: compile with full file path

xiaoxiang781216 commented on code in PR #8347:
URL: https://github.com/apache/nuttx/pull/8347#discussion_r1091719602


##########
tools/Config.mk:
##########
@@ -364,7 +364,7 @@ endef
 
 define ASSEMBLE
 	@echo "AS: $1"
-	$(Q) $(CCACHE) $(CC) -c $(AFLAGS) $1 $($(strip $1)_AFLAGS) -o $2
+	$(Q) $(CCACHE) $(CC) -c $(AFLAGS) $(abspath $1) $($(strip $1)_AFLAGS) -o $(abspath $2)

Review Comment:
   please create a new patch to algin with other:
   ```suggestion
   	$(Q) $(CCACHE) $(CC) -c $(AFLAGS) $($(strip $1)_AFLAGS) $(abspath $1) -o $(abspath $2)
   ```



-- 
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-unsubscribe@nuttx.apache.org

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