summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-05-05 18:34:57 -0700
committerYing Wang <wangying@google.com>2014-05-05 18:34:57 -0700
commitfb1236a9a838f150f778101897c5637579cd9e9c (patch)
treeba6433f7f9e47781b7d289c82786da722b5f2f87 /core
parent57df0c7bf5a78b1c4edb7e06d22ccc91ad46b41d (diff)
downloadbuild-fb1236a9a838f150f778101897c5637579cd9e9c.zip
build-fb1236a9a838f150f778101897c5637579cd9e9c.tar.gz
build-fb1236a9a838f150f778101897c5637579cd9e9c.tar.bz2
Use prebuilt flex.
Bug: 14446414 Change-Id: I07fe8d7f246de853e5bae17286834268e36d260c
Diffstat (limited to 'core')
-rw-r--r--core/config.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/config.mk b/core/config.mk
index 4e65049..5df9e76 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -336,7 +336,7 @@ endif
# ---------------------------------------------------------------
# Generic tools.
-LEX := flex
+LEX := prebuilts/misc/$(BUILD_OS)-$(BUILD_ARCH)/flex/flex-2.5.39$(HOST_EXECUTABLE_SUFFIX)
# 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
@@ -394,8 +394,6 @@ else
COLUMN:= column
endif
-OLD_FLEX := prebuilts/misc/$(HOST_PREBUILT_TAG)/flex/flex-2.5.4a$(HOST_EXECUTABLE_SUFFIX)
-
ifeq ($(HOST_OS),darwin)
ifeq ($(LEGACY_USE_JAVA6),)
HOST_JDK_TOOLS_JAR:= $(shell $(BUILD_SYSTEM)/find-jdk-tools-jar.sh)