summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorLouise Mendoza <yonattan.a.louise.mendoza@intel.com>2015-12-30 16:17:36 -0600
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:16 -0500
commit0c3f05bcd739d6674b4c99c2bb5f3b0cc1eb1127 (patch)
treec62690a1f0e9e37f58cbb8c5f8d622891d40436b /Makefile.inc
parentc1510f53dccc1a30db57197b3872278e0ebe9342 (diff)
mingw: Use built-in pwd with -W option for mingw builds
The pwd for mingw has a different output to the pwd shell's built-in pwd. This change uses the built-in pwd for keep compatibilty with the path in mingw. Change-Id: I43d605157e19f661480e68ecbbd024c5f077e461 Signed-off-by: Louise Mendoza <yonattan.a.louise.mendoza@intel.com> Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index f8a980bd4..a99b6cc59 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -6,7 +6,7 @@ DQUOTE = "
ARCH ?= x86
-PROJECT_BASE ?= $(shell pwd)
+PROJECT_BASE ?= $(CURDIR)
O ?= $(PROJECT_BASE)/outdir
# Turn O into an absolute path; we call the main Kbuild with $(MAKE) -C