Switch to prebuilt bison

Bug: 8517572
Change-Id: Iad91b1db9472712899c4b46e2a8da5ba34ccb1cd
This commit is contained in:
Ying Wang 2013-04-05 18:02:16 -07:00 committed by Jean-Baptiste Queru
parent 5ec66d1542
commit ced0e1b834
1 changed files with 9 additions and 2 deletions

View File

@ -275,8 +275,15 @@ endif
# --------------------------------------------------------------- # ---------------------------------------------------------------
# Generic tools. # Generic tools.
LEX:= flex LEX := flex
YACC:= bison -d # The default PKGDATADIR built in the prebuilt bison is a relative path
# external/bison/data.
# To run bison from elsewhere you need to set up enviromental variable
# BISON_PKGDATADIR.
BISON_PKGDATADIR := $(PWD)/external/bison/data
BISON := prebuilts/misc/$(HOST_PREBUILT_TAG)/bison/bison
YACC := $(BISON) -d
DOXYGEN:= doxygen DOXYGEN:= doxygen
AAPT := $(HOST_OUT_EXECUTABLES)/aapt$(HOST_EXECUTABLE_SUFFIX) AAPT := $(HOST_OUT_EXECUTABLES)/aapt$(HOST_EXECUTABLE_SUFFIX)
AIDL := $(HOST_OUT_EXECUTABLES)/aidl$(HOST_EXECUTABLE_SUFFIX) AIDL := $(HOST_OUT_EXECUTABLES)/aidl$(HOST_EXECUTABLE_SUFFIX)