From 25328e4354cb60c430e021cf4bae350f478cc448 Mon Sep 17 00:00:00 2001 From: oliviermartin Date: Mon, 29 Oct 2012 14:54:21 +0000 Subject: [PATCH] ArmPlatformPkg/Scripts: Fixed the Makefile for Windows This is the Makefile for the Windows version of Eclipse (use MingW for Unix 'emulation'). Signed-off-by: Olivier Martin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13886 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Scripts/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ArmPlatformPkg/Scripts/Makefile b/ArmPlatformPkg/Scripts/Makefile index 31bed29646..511aa50eac 100644 --- a/ArmPlatformPkg/Scripts/Makefile +++ b/ArmPlatformPkg/Scripts/Makefile @@ -25,8 +25,8 @@ ifeq ($(EDK2_DSC),"") endif ifeq ("$(OS)","Windows_NT") -WORKSPACE?=$(PWD) -EDK_TOOLS_PATH ?= $(WORKSPACE)\BaseTools +export WORKSPACE?=$(PWD) +export EDK_TOOLS_PATH ?= $(WORKSPACE)\BaseTools endif SHELL := /bin/bash @@ -41,8 +41,7 @@ EDK2_CONF = Conf/BuildEnv.sh Conf/build_rule.txt Conf/target.txt Conf/tools_def. all: $(EDK2_CONF) ifeq ("$(OS)","Windows_NT") - echo %PATH% - build -a $(EDK2_ARCH) -p $(EDK2_PKG) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) + build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) else . ./edksetup.sh `pwd`/BaseTools; build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) endif @@ -59,7 +58,7 @@ endif clean: ifeq ("$(OS)","Windows_NT") - build -a $(EDK2_ARCH) -p $(EDK2_PKG) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) cleanall + build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) cleanall else . ./edksetup.sh `pwd`/BaseTools; build -a $(EDK2_ARCH) -p $(EDK2_DSC) -t $(EDK2_TOOLCHAIN) -b $(EDK2_BUILD) $(EDK2_MACROS) cleanall; \ rm -Rf $(EDK2_CONF) Conf/.cache