summaryrefslogtreecommitdiff
path: root/Tools/Source
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-03 08:53:53 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2006-08-03 08:53:53 +0000
commit5afd499259e1a9b0ba58445a116f130b383d1879 (patch)
tree2c72ed71ef632c755a89ea986a54de4d263b332c /Tools/Source
parent43dc3851cf49c09acba2224a3bd9b4c96931e526 (diff)
downloadedk2-platforms-5afd499259e1a9b0ba58445a116f130b383d1879.tar.xz
Fix makefile's parameter bug for OSX building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1184 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r--Tools/Source/TianoTools/Pccts/antlr/build.xml2
-rw-r--r--Tools/Source/TianoTools/Pccts/antlr/makefile2
-rw-r--r--Tools/Source/TianoTools/Pccts/dlg/build.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/Tools/Source/TianoTools/Pccts/antlr/build.xml b/Tools/Source/TianoTools/Pccts/antlr/build.xml
index 6f4a9179e2..dfc1455409 100644
--- a/Tools/Source/TianoTools/Pccts/antlr/build.xml
+++ b/Tools/Source/TianoTools/Pccts/antlr/build.xml
@@ -57,7 +57,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<istrue value="${gcc}"/>
<then>
<exec dir="${PACKAGE_DIR}/Pccts/antlr" executable="make" failonerror="TRUE">
- <arg line="-f makefile"/>
+ <arg line="-f makefile BIN_DIR=${BIN_DIR}"/>
</exec>
</then>
</elseif>
diff --git a/Tools/Source/TianoTools/Pccts/antlr/makefile b/Tools/Source/TianoTools/Pccts/antlr/makefile
index ab64fc6123..2aa6cdfc34 100644
--- a/Tools/Source/TianoTools/Pccts/antlr/makefile
+++ b/Tools/Source/TianoTools/Pccts/antlr/makefile
@@ -179,7 +179,7 @@ OBJ=antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o \
globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o mrhoist.o fcache.o
antlr : $(OBJ) $(SRC)
- $(CC) $(CFLAGS) -o ${PACKAGE_DIR}/antlr $(OBJ)
+ $(CC) $(CFLAGS) -o $(BIN_DIR)/antlr $(OBJ)
# what files does PCCTS generate (both ANTLR and DLG)
PCCTS_GEN=antlr.c scan.c err.c tokens.h mode.h parser.dlg stdpccts.h remap.h
diff --git a/Tools/Source/TianoTools/Pccts/dlg/build.xml b/Tools/Source/TianoTools/Pccts/dlg/build.xml
index 89e7aaa22e..4195950c7b 100644
--- a/Tools/Source/TianoTools/Pccts/dlg/build.xml
+++ b/Tools/Source/TianoTools/Pccts/dlg/build.xml
@@ -59,7 +59,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<equals arg1="${ToolChain}" arg2="gcc"/>
<then>
<exec dir="${PACKAGE_DIR}/Pccts/dlg" executable="make" failonerror="TRUE">
- <arg line="-f makefile"/>
+ <arg line="-f makefile BIN_DIR=${BIN_DIR}"/>
</exec>
</then>
</elseif>