diff options
author | Gao, Liming <liming.gao@intel.com> | 2014-09-23 01:32:56 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-23 01:32:56 +0000 |
commit | b4dfada85dad3ff3022f83d0ac1cd6b0c185cdd5 (patch) | |
tree | a4fe78d364b23d25a6c2187a3a382a5b9aa1a727 /BaseTools/Source/C | |
parent | 77eef0d5a82bf2a49cc6bb25077ba73e922ea160 (diff) | |
download | edk2-platforms-b4dfada85dad3ff3022f83d0ac1cd6b0c185cdd5.tar.xz |
BaseTools: Update nmake Makefile to handle the file path with “:\\”.
DOS del command doesn’t handle “:\\” in the file path. This patch converts “:\\” to “:\”.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gao, Liming <liming.gao@intel.com>
Reviewed-by: lhauch <larry.hauch@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16160 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Source/C')
-rw-r--r-- | BaseTools/Source/C/Makefiles/ms.common | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/BaseTools/Source/C/Makefiles/ms.common b/BaseTools/Source/C/Makefiles/ms.common index d2f0b598cc..9e50b217fc 100644 --- a/BaseTools/Source/C/Makefiles/ms.common +++ b/BaseTools/Source/C/Makefiles/ms.common @@ -25,6 +25,10 @@ ARCH = IA32 MAKE = nmake -nologo
+# DOS del command doesn't support ":\\" in the file path, such as j:\\BaseTools. Convert ":\\" to ":\"
+BASE_TOOLS_PATH = $(BASE_TOOLS_PATH::\\=:\)
+EDK_TOOLS_PATH = $(EDK_TOOLS_PATH::\\=:\)
+
SOURCE_PATH = $(BASE_TOOLS_PATH)\Source\C
BIN_PATH = $(BASE_TOOLS_PATH)\Bin
LIB_PATH = $(BASE_TOOLS_PATH)\Lib
|