From b4dfada85dad3ff3022f83d0ac1cd6b0c185cdd5 Mon Sep 17 00:00:00 2001 From: "Gao, Liming" Date: Tue, 23 Sep 2014 01:32:56 +0000 Subject: =?UTF-8?q?BaseTools:=20Update=20nmake=20Makefile=20to=20handle=20?= =?UTF-8?q?the=20file=20path=20with=20=E2=80=9C:\\=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: lhauch git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16160 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BaseTools/Source/Python') diff --git a/BaseTools/Source/Python/Makefile b/BaseTools/Source/Python/Makefile index fb88cebbf7..d72e8789b6 100644 --- a/BaseTools/Source/Python/Makefile +++ b/BaseTools/Source/Python/Makefile @@ -25,6 +25,10 @@ FREEZE=$(PYTHON_FREEZER_PATH)\FreezePython.exe MODULES=encodings.cp437,encodings.gbk,encodings.utf_16,encodings.utf_8,encodings.utf_16_le,encodings.latin_1,encodings.ascii +# 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::\\=:\) + BIN_DIR=$(EDK_TOOLS_PATH)\Bin\Win32 APPLICATIONS=$(BIN_DIR)\build.exe $(BIN_DIR)\GenFds.exe $(BIN_DIR)\Trim.exe $(BIN_DIR)\TargetTool.exe $(BIN_DIR)\GenDepex.exe $(BIN_DIR)\GenPatchPcdTable.exe $(BIN_DIR)\PatchPcdValue.exe $(BIN_DIR)\BPDG.exe $(BIN_DIR)\UPT.exe $(BIN_DIR)\Rsa2048Sha256Sign.exe $(BIN_DIR)\Rsa2048Sha256GenerateKeys.exe -- cgit v1.2.3