zouboan commented on PR #1407: URL: https://github.com/apache/nuttx-apps/pull/1407#issuecomment-1339537307
thanks for your advise,let me try! ---Original--- From: "Xiang ***@***.***> Date: Tue, Dec 6, 2022 18:45 PM To: ***@***.***>; Cc: ***@***.******@***.***>; Subject: Re: [apache/nuttx-apps] Fix various error in Windows native build (PR #1407) @xiaoxiang781216 commented on this pull request. In Makefile: > @@ -21,6 +21,16 @@ export APPDIR = $(CURDIR) include $(APPDIR)/Make.defs +# The GNU make CURDIR will always be a POSIX-like path with forward slashes +# as path segment separators. This is fine for the above inclusions but +# will cause problems later for the native build. If we know that this is +# a native build, then we need to fix up the APPDIR path for subsequent +# use + +ifeq ($(CONFIG_WINDOWS_NATIVE),y) we can replace / with \ like other place, instead ${shell echo %CD%}. and it's better to merge with line 31 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***> -- 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