From 6535dd9891388d54bc3d17ce1375e581be80bcf7 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Thu, 24 May 2018 16:04:58 -0700 Subject: [PATCH] Use new flex binary Test: treehugger Change-Id: Iee21114ae863eb50d26ee9562879a97f956274ab --- core/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/config.mk b/core/config.mk index 075af49fa..b230d0d4e 100644 --- a/core/config.mk +++ b/core/config.mk @@ -623,13 +623,13 @@ ZIPTIME := $(prebuilt_build_tools_bin)/ziptime # --------------------------------------------------------------- # Generic tools. -LEX := prebuilts/misc/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/flex/flex-2.5.39 +LEX := $(prebuilt_build_tools_bin)/flex # The default PKGDATADIR built in the prebuilt bison is a relative path # prebuilts/build-tools/common/bison. # To run bison from elsewhere you need to set up enviromental variable # BISON_PKGDATADIR. BISON_PKGDATADIR := $(PWD)/prebuilts/build-tools/common/bison -BISON := prebuilts/build-tools/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/bin/bison +BISON := $(prebuilt_build_tools_bin)/bison YACC := $(BISON) -d BISON_DATA := $(wildcard $(BISON_PKGDATADIR)/* $(BISON_PKGDATADIR)/*/*)