summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/Scripts/Makefile
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-10-29 14:54:21 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-10-29 14:54:21 +0000
commit25328e4354cb60c430e021cf4bae350f478cc448 (patch)
tree3e21071c5dd290e173f24d8306a7b47bfb2d5e1e /ArmPlatformPkg/Scripts/Makefile
parentf7a5d58c57726da6adb47caacc3e213c0a92e465 (diff)
downloadedk2-25328e4354cb60c430e021cf4bae350f478cc448.tar.gz
edk2-25328e4354cb60c430e021cf4bae350f478cc448.tar.bz2
edk2-25328e4354cb60c430e021cf4bae350f478cc448.zip
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 <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13886 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Scripts/Makefile')
-rw-r--r--ArmPlatformPkg/Scripts/Makefile9
1 files 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