You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/17 19:21:02 UTC
[incubator-nuttx-apps] 02/02: apps/Makefile: Improve some comments.
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch pr21
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 9b077dc2206ec6a9cd48268086125c02fd6e7f19
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Fri Jan 17 13:16:36 2020 -0600
apps/Makefile: Improve some comments.
---
Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 599641b..e0ad31f 100644
--- a/Makefile
+++ b/Makefile
@@ -40,10 +40,11 @@ TOPDIR ?= $(APPDIR)/import
-include $(TOPDIR)/Make.defs
-include $(APPDIR)/Make.defs
-# The GNU make CURDIR will always be a POSIX-like paths withi forward
-# slashes as path segment separators. This is fine for the above inclusion,
-# but will cause problems later for the native build. If we know that this
-# is a native build, then fix up the paths
+# 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%}