Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40314c17 authored by Christopher N. Hesse's avatar Christopher N. Hesse
Browse files

core: config: Use host bison if requested

Change-Id: I87a232838cbc49ab758ed7bf27d97c59d9928e69
(cherry picked from commit b78ebb31)
parent 45bdd54c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -558,7 +558,11 @@ LEX := prebuilts/misc/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/flex/flex-2.5.39
# To run bison from elsewhere you need to set up enviromental variable
# BISON_PKGDATADIR.
BISON_PKGDATADIR := $(PWD)/external/bison/data
ifeq ($(USE_HOST_BISON),yes)
BISON := bison
else
BISON := prebuilts/misc/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/bison/bison
endif
YACC := $(BISON) -d
BISON_DATA := $(wildcard external/bison/data/* external/bison/data/*/*)