summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-28 10:19:28 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-28 22:54:52 +1300
commit0bc66d3e1c75da20e6346d85e4549ec9db93c8e2 (patch)
tree0ac0d44f546888ec030027d663a6e9e25c56756a
parent856221481b32242c296ab83b4bcce0890f07d017 (diff)
gcc: fix build on or1k without flex/bison on host
Similar to arc architecture this is required. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gcc/gcc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index afe7c0947..241f3575c 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -183,7 +183,7 @@ else
HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog
endif
-ifeq ($(BR2_arc),y)
+ifeq ($(BR2_arc)$(BR2_or1k),y)
HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison
endif