Browse Source

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>
Waldemar Brodkorb 8 năm trước cách đây
mục cha
commit
0bc66d3e1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      package/gcc/gcc.mk

+ 1 - 1
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