xiaoxiang781216 commented on code in PR #1407: URL: https://github.com/apache/incubator-nuttx-apps/pull/1407#discussion_r1029329680
########## Make.defs: ########## @@ -21,27 +21,22 @@ TOPDIR ?= $(APPDIR)/import include $(TOPDIR)/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) -APPDIR := ${shell echo %CD%} -endif - # Application Directories # BUILDIRS is the list of top-level directories containing Make.defs files # CLEANDIRS is the list of all top-level directories containing Makefiles. # It is used only for cleaning. -BUILDIRS := $(dir $(wildcard $(APPDIR)$(DELIM)*$(DELIM)Make.defs)) -BUILDIRS := $(filter-out $(APPDIR)$(DELIM)import$(DELIM),$(BUILDIRS)) -CONFIGDIRS := $(filter-out $(APPDIR)$(DELIM)builtin$(DELIM),$(BUILDIRS)) -CONFIGDIRS := $(filter-out $(dir $(wildcard $(APPDIR)$(DELIM)*$(DELIM)Kconfig)),$(CONFIGDIRS)) Review Comment: @zouboan what's `$(DELIM)` on Windows native build environment? I think you can adjust `$(DELIM)` to the right value instead, which is more simpler than replacing it in many place. -- 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