OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f04d9d
)
core: config: Use host bison if requested
author
Christopher N. Hesse
<raymanfx@gmail.com>
Thu, 28 Sep 2017 19:13:38 +0000
(21:13 +0200)
committer
Christopher N. Hesse
<raymanfx@gmail.com>
Thu, 28 Sep 2017 19:13:38 +0000
(21:13 +0200)
Change-Id: I87a232838cbc49ab758ed7bf27d97c59d9928e69
core/config.mk
patch
|
blob
|
history
diff --git
a/core/config.mk
b/core/config.mk
index
5ca6a9a
..
1325c34
100644
(file)
--- a/
core/config.mk
+++ b/
core/config.mk
@@
-534,7
+534,11
@@
endif
# 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
YASM := prebuilts/misc/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/yasm/yasm