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
This commit is contained in:
klu2 2006-08-03 08:53:53 +00:00
parent 43dc3851cf
commit 5afd499259
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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

View File

@ -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>